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

Veröffentlicht am: 20 Mai 2022
auf dem Kanal: 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  


Auf dieser Seite können Sie das Online-Video Build a code editor from Chakra UI docs with React Live and TailwindCSS mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Mykhaylo Ryechkin 20 Mai 2022 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 2,215 Mal angesehen und es wurde von 46 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!