Publish Vue components using the vue-share-components vue-cli template

vue-share-components

A very simple vue-cli template to write and publish vue plugins with .vue components.

Install the vue-cli globally

npm i -g vue-cli

Then initialize a new project using the template name

vue init Akryum/vue-share-components plugin-name

Then answer the questions

  • Plugin name (default the name entered)
  • Library for browser usage (none default)
  • Plugin description (A very simple vue-cli template to write and publish vue plugins with .vue components.)
  • Initial version (0.0.0)
  • Author (your email)
  • GitHub account
  • Pick CSS language

Then

cd your-plugin-project
npm install
npm run dev

And thats it.

Take a look on the source code on GitHub. By @Akryum