Vue Component Starter
A vue component starter with essential features.
Features
- Continuous Integration
- Jest
- Multiple builds target
- Typescript support
More to come:
- Automate versioning and CHANGELOG generation
- CLI
- Storybook
Setup
Install with yarn:
yarn add my-component
Install with npm:
npm install my-component
Usage
Basic
<template> <my-component :value="0" /></template> <script lang="ts">import { Component, Vue } from 'vue-property-decorator';import MyComponent from 'my-component'; @Component({ components: { MyComponent, },})export default class Awesome extends Vue {}</script>
Development
- Clone this repository
- Install dependencies using
yarn install
ornpm install
- Start development server using
yarn storybook
ornpm run storybook
📑 License
Notes
Rollup config's heavily inspired by https://github.com/team-innovation/vue-sfc-rollup