Skip to content

Commit

Permalink
docs: adds section add component
Browse files Browse the repository at this point in the history
Adds section explain how to add component to read me
Part of #17
  • Loading branch information
rfgvieira committed Jun 28, 2024
1 parent 247f354 commit c0c61b4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions dashboard/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ Currently, two official plugins are available:
- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh
- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh

## Add component
To add a new component to projet use the following command on terminal:
```
pnpm dlx shadcn-ui@latest add <component-name>
```

## Expanding the ESLint configuration

If you are developing a production application, we recommend updating the configuration to enable type aware lint rules:
Expand Down

0 comments on commit c0c61b4

Please sign in to comment.