Build a code editor from Chakra UI docs with React Live and TailwindCSS

Publié le: 20 mai 2022
sur la chaîne: Mykhaylo Ryechkin
2,215
46

Let's recreate a live code editor / code snippet component from Chakra UI docs, built using React Live and TailwindCSS.

Chakra UI: https://www.chakra-ui.com
React Live: https://github.com/FormidableLabs/rea...
TailwindCSS: https://tailwindcss.com

Code: https://github.com/mryechkin/live-cod...

Timestamps:

00:00 - Intro
01:55 - Project setup
03:32 - Getting started with React Live
07:40 - Customizing component to match Chakra UI docs
08:55 - Changing theme for syntax highlighting
10:15 - Updating the Editor pane
13:30 - Updating the Preview pane
15:53 - Updating the Error pane
16:54 - Adding the Copy button
20:08 - Enabling copy to clipboard functionality
28:46 - Adding focus outline to copy button
29:52 - Adding Chakra UI to React Live scope
34:33 - Code splitting optimizations
38:22 - Enabling more complex examples
42:50 - Outro

GitHub: https://github.com/mryechkin
Twitter:   / mryechkin  


Sur cette page du site, vous pouvez voir la vidéo en ligne Build a code editor from Chakra UI docs with React Live and TailwindCSS durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Mykhaylo Ryechkin 20 mai 2022, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 2,215 fois et il a aimé 46 téléspectateurs. Bon visionnage!