1.0.0 • Published 1 year ago
@pareido1ia/re-ui-library v1.0.0
Red Energy Vue 3 component library.
Usage
First install the library using your prefered package manager
yarn add //Todo: git library installthen you can import the available components like so
import { Button } from 're-ui-library'Available commands
Here is a list of all available npm commands.
Starting the dev environment We use VitePress to hold our component documentation and examples
npm run devBuilding the documentation
npm run buildServing the documentation
npm run serveBuilding the library bundle
Generates the js bundle to be imported by our apps
npm run build:libraryAnalyzing bundle sizes with rollup-plugin-visualizer
npm run analyzeLint all files
npm run lintFormat all files
npm run formatCreating new components
Adding new components
- Add the component in a folder of the same name
- Ensure you add documentation for the component inside /docs follow the
index.md
src/
├── components/
│ ├── [componentName]/
│ │ └── [componentName].vueYou can rebuild the docs by running npm run build:library and see them by running npm run serve.
1.0.0
1 year ago