touchpoint-components-vue
v1.11.0
Published
Vue Components for FitX Gym Touchpoints
Downloads
135
Readme
touchpoint-components-vue
Vue Components Library for Gym Touchpoint
Development
Add new Component
Easy create new Component inclusive Documentation Boilerplate
npm run generate-component
e.g. npm run generate-component app-button
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
- Serve Components via
npm run serve
. - Or build Components Library via
npm run build-sg
.
Linting
- Lint Components via
npm run lint
.
Testing
- Cypress Unit Testing via
npm run test:unit
.
Build
- Update
package.json
, vianpm version [update_type]
- Build via
npm run build
. - Commit and Push Code
- Publish via
npm publish
.