fluidtechglobal-vuecli

This package is meant to ease vue development especially when making the services that connect to the backend. It is still in development and more updates are to come.

use fluidtechglobal-vuex-cli
Last updated 2 years ago by fluidtechglobal .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install fluidtechglobal-vuecli 
SYNC missed versions from official npm registry.

#FLUID TECH GLOBAL VUE CLI

###Installation npm install -g fluidtechglobal-vuecli

Creating the VUEX module store file

Create a "vuex" folder in the following path

    /src/vuex

Then run

    vuecli -s

The above command will create a file that looks like below:

    import Vue from 'vue'
    import Vuex from 'vuex'
    
    Vue.config.productionTip = false
    Vue.use(Vuex)
    Vue.config.debug = true
    
    const debug = process.env.NODE_ENV !== 'production'
    
    export default new Vuex.Store({
      modules: {
    
      },
      strict: debug
    })

Creating Vuex files.

A standard vuex service contains a folder structure as follows:

    -folder-name
        -actions.js
        -mutations.js
        -store.js
        -url.js

The command below will create the folder and the files in the current directory run in.

    vuecli -f 

Current Tags

  • 1.0.8                                ...           latest (2 years ago)

9 Versions

  • 1.0.8 [deprecated]           ...           2 years ago
  • 1.0.7 [deprecated]           ...           2 years ago
  • 1.0.6 [deprecated]           ...           2 years ago
  • 1.0.5 [deprecated]           ...           2 years ago
  • 1.0.4 [deprecated]           ...           2 years ago
  • 1.0.3 [deprecated]           ...           2 years ago
  • 1.0.2 [deprecated]           ...           2 years ago
  • 1.0.1 [deprecated]           ...           2 years ago
  • 1.0.0 [deprecated]           ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 22
Last Day 0
Last Week 1
Last Month 5
Dependencies (6)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |