npm.io
0.0.1 • Published 6 years ago

vue-component-starter

Licence
MIT
Version
0.0.1
Deps
0
Size
15 kB
Vulns
0
Weekly
0

Vue Component Starter

circle-ci npm version Dependencies npm downloads code style: prettier License: MIT

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

  1. Clone this repository
  2. Install dependencies using yarn install or npm install
  3. Start development server using yarn storybook or npm run storybook

License

MIT License

Notes

Rollup config's heavily inspired by https://github.com/team-innovation/vue-sfc-rollup