Vue Components Library for Gym Touchpoint
Easy create new Component inclusive Documentation Boilerplate
npm run generate-component
e.g. npm run generate-component app-button
Manuel:
Create Component in lib-components with kebab-case.E.g. app-button.vue
and export them with camel-case name
e.g.
export default {
name: 'AppButton',
...
}
the only missing Step is to add the new Component
in the Entry File src/lib-components/index.js
like
export { default as AppButton } from './app-button.vue';
- Serve Components via
npm run serve
. - Or build Components Library via
npm run build-sg
.
- Lint Components via
npm run lint
.
- Cypress Unit Testing via
npm run test:unit
.
- Update
package.json
, vianpm version [update_type]
- Build via
npm run build
. - Commit and Push Code
- Publish via
npm publish
.