Skip to content

Commit a9afa3e

Browse files
committed
changed package name from vua-redux to redux-vue
1 parent e5f5568 commit a9afa3e

File tree

2 files changed

+17
-13
lines changed

2 files changed

+17
-13
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
# vue redux binding higher order component
2-
Vua Redux is tested to work on vue v2 and should be used with vue-jsx or in component template string. For more on vue-jsx https://github.com/vuejs/babel-plugin-transform-vue-jsx
2+
Vue Redux is tested to work on vue v2 and should be used with vue-jsx or in component template string. For more on vue-jsx https://github.com/vuejs/babel-plugin-transform-vue-jsx
33

44
## Install
5-
install through ``npm i vua-redux --save``
5+
install through ``npm i redux-vue --save``
66

77
## Initialize
88
install in your root component
99

1010
```js
1111
// main.js
1212
import Vue from 'vue';
13-
import { reduxStorePlugin } from 'vua-redux';
13+
import { reduxStorePlugin } from 'redux-vue';
1414
import AppStore from './AppStore';
1515
import App from './Component/App';
1616

17-
// install vua-redux
18-
Vue.use(reduxStorePlugin);
17+
// install redux-vue
18+
Vue.use(reduxStorePlugin);
1919

2020
new Vue({
2121
store: AppStore,
@@ -29,8 +29,8 @@ new Vue({
2929
// store.js
3030
import { createStore } from 'redux';
3131

32-
const initialState = {
33-
todos: []
32+
const initialState = {
33+
todos: []
3434
};
3535

3636
const reducer = (state = initialState, action) => {
@@ -55,7 +55,7 @@ export default AppStore;
5555
```js
5656
// components/App.js
5757

58-
import { connect } from 'vua-redux';
58+
import { connect } from 'redux-vue';
5959

6060
const App = {
6161
props: {

package.json

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
2-
"name": "vua-redux",
2+
"name": "redux-vue",
33
"version": "0.6.1",
4-
"description": "vue redux binding higher order component",
4+
"description": "Vue Redux binding higher order component",
55
"author": "Nadim Tuhin",
66
"repository": {
77
"type": "git",
8-
"url": "https://github.com/nadimtuhin/vua-redux.git"
8+
"url": "https://github.com/nadimtuhin/redux-vue.git"
99
},
10-
"bugs": "https://github.com/nadimtuhin/vua-redux/issues",
10+
"bugs": "https://github.com/nadimtuhin/redux-vue/issues",
1111
"homepage": "http://nadimtuhin.com",
1212
"license": "MIT",
1313
"main": "lib/index.js",
@@ -19,7 +19,11 @@
1919
},
2020
"keywords": [
2121
"vue",
22-
"redux"
22+
"redux",
23+
"vue-redux",
24+
"redux-vue",
25+
"flux",
26+
"immutable"
2327
],
2428
"devDependencies": {
2529
"babel-cli": "^6.14.0",

0 commit comments

Comments
 (0)