Welcome to the React coding challenge using Nx.
Update the sidebar component and import it to the app.
Requirements:
nx serve webextension
should render your Sidebar componentnpx nx storybook ui
should display your Sidebar component- the sidebar component requirements:
- The button
Copy to clipboard
should store the text from the above text field in the clipboard - the sidebar should look as follows:
- The button
Please use nx' generate commands (see Code scaffolding) in case you want to generate a new component.
Also, please use tailwind to style your components.
- fork this repo
- clone your forked repo locally
- npm install
- Run
nx serve my-app
for a dev server. Navigate to http://localhost:4200/. - In a separate terminal window, run
npx nx storybook ui
. Navigate to http://localhost:4400/.
Run nx g @nrwl/react:component my-component --project=my-app
to generate a new component.
Visit the Nx Documentation to learn more.
Send me an e-mail: richard@agreeto.app