touchpoint-components-vue

Vue Components for FitX Gym Touchpoints
8,072
Install
npm install touchpoint-components-vue
Latest Version:1.11.0
Vue:2
Last Updated:Jun 18, 2020
Links: npm
Maintainer: webdesignberlin

touchpoint-components-vue

Vue Components Library for Gym Touchpoint

npm gzip size install size downloads dep dev dep


Development

Add new Component

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

  • 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

  1. Update package.json, via npm version [update_type]
  2. Build via npm run build.
  3. Commit and Push Code
  4. Publish via npm publish.

Version History

Version Released Vue License
1.11.0 ^2.6.10
1.10.0 ^2.6.10
1.9.1 ^2.6.10
1.9.0 ^2.6.10
1.8.2 ^2.6.10