Skip to content

kmCha/weex-vuex-loader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Useage

npm install --save weex-vuex-loader

then install vuex-weex.

then open webpack.config.js,add 'weex-vuex-loader' after 'weex-loader':

  // ...
  module: {
    loaders: [
      {
        test: /\.we(\?[^?]+)?$/,
        loaders: ['weex-loader', 'weex-vuex-loader?store']
      }
    ]
  }
  // ...

query 'store' after ? means you can access your Vuex store inside weex component like this.store. If you don't specify the query, the default will be this._store.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published