Skip to content

Scaffold a FeathersVuex boilerplate & add services by cli for @vue/cli

License

Notifications You must be signed in to change notification settings

fratzinger/vue-cli-plugin-feathers-vuex

Repository files navigation

vue-cli-plugin-feathers-vuex

Known Vulnerabilities Dependency Status NPM npm npm

Vue Cli Plugin for initialising feathers-vuex and adding services. For feathers-vuex v3.0.0 and ongoing

Integrate feathers-vuex into vue automatically

Installation

If you use Vue cli, type the following in your command line:

vue add feathers-vuex

Usage

  • vue add feathers-vuex - init feathers-vuex
  • vue invoke feathers-vuex
    • add service - adds a new service with the baked in template
    • copy template to feathers folder - you can customize your own template and use it for new service creation. It will be placed under: ./src/store/feathers/templates/${templateName} and will be invoked as following:
    • add service from custom template - this renders all files from your custom template folder to your application. You can customize the files with ejs
    • init feathers-vuex - this is the same as vue add feathers-vuex

Features

  • Add feathers-vuex regarding best practice
  • add new services
  • Currently supporting Javascript

ToDo

  • Support Typescript

License

This project is licensed under the MIT License - see the license file for details