├── .gitignore ├── README.md ├── babel.config.js ├── jest.config.js ├── package.json ├── public ├── favicon.ico └── index.html ├── src ├── App.vue ├── assets │ └── logo.png ├── components │ ├── TodoContainer.vue │ ├── TodoFilters.vue │ ├── TodoInput.vue │ ├── TodoItem.vue │ ├── TodoTitle.vue │ └── filters │ │ ├── TodoFiltersActive.vue │ │ ├── TodoFiltersAll.vue │ │ └── TodoFiltersDone.vue ├── constant │ └── index.js ├── layout │ └── TodoLayout.vue ├── main.js └── store │ ├── index.js │ ├── modules │ └── todos │ │ ├── actions.js │ │ ├── getters.js │ │ ├── index.js │ │ ├── mutations.js │ │ ├── state.js │ │ └── types.js │ └── utils │ └── index.js └── tests └── unit ├── .eslintrc.js └── example.spec.js /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jbee37142/vuex-best-practice-lab/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jbee37142/vuex-best-practice-lab/HEAD/README.md -------------------------------------------------------------------------------- /babel.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jbee37142/vuex-best-practice-lab/HEAD/babel.config.js -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jbee37142/vuex-best-practice-lab/HEAD/jest.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jbee37142/vuex-best-practice-lab/HEAD/package.json -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jbee37142/vuex-best-practice-lab/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jbee37142/vuex-best-practice-lab/HEAD/public/index.html -------------------------------------------------------------------------------- /src/App.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jbee37142/vuex-best-practice-lab/HEAD/src/App.vue -------------------------------------------------------------------------------- /src/assets/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jbee37142/vuex-best-practice-lab/HEAD/src/assets/logo.png -------------------------------------------------------------------------------- /src/components/TodoContainer.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jbee37142/vuex-best-practice-lab/HEAD/src/components/TodoContainer.vue -------------------------------------------------------------------------------- /src/components/TodoFilters.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jbee37142/vuex-best-practice-lab/HEAD/src/components/TodoFilters.vue -------------------------------------------------------------------------------- /src/components/TodoInput.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jbee37142/vuex-best-practice-lab/HEAD/src/components/TodoInput.vue -------------------------------------------------------------------------------- /src/components/TodoItem.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jbee37142/vuex-best-practice-lab/HEAD/src/components/TodoItem.vue -------------------------------------------------------------------------------- /src/components/TodoTitle.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jbee37142/vuex-best-practice-lab/HEAD/src/components/TodoTitle.vue -------------------------------------------------------------------------------- /src/components/filters/TodoFiltersActive.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jbee37142/vuex-best-practice-lab/HEAD/src/components/filters/TodoFiltersActive.vue -------------------------------------------------------------------------------- /src/components/filters/TodoFiltersAll.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jbee37142/vuex-best-practice-lab/HEAD/src/components/filters/TodoFiltersAll.vue -------------------------------------------------------------------------------- /src/components/filters/TodoFiltersDone.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jbee37142/vuex-best-practice-lab/HEAD/src/components/filters/TodoFiltersDone.vue -------------------------------------------------------------------------------- /src/constant/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jbee37142/vuex-best-practice-lab/HEAD/src/constant/index.js -------------------------------------------------------------------------------- /src/layout/TodoLayout.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jbee37142/vuex-best-practice-lab/HEAD/src/layout/TodoLayout.vue -------------------------------------------------------------------------------- /src/main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jbee37142/vuex-best-practice-lab/HEAD/src/main.js -------------------------------------------------------------------------------- /src/store/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jbee37142/vuex-best-practice-lab/HEAD/src/store/index.js -------------------------------------------------------------------------------- /src/store/modules/todos/actions.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jbee37142/vuex-best-practice-lab/HEAD/src/store/modules/todos/actions.js -------------------------------------------------------------------------------- /src/store/modules/todos/getters.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jbee37142/vuex-best-practice-lab/HEAD/src/store/modules/todos/getters.js -------------------------------------------------------------------------------- /src/store/modules/todos/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jbee37142/vuex-best-practice-lab/HEAD/src/store/modules/todos/index.js -------------------------------------------------------------------------------- /src/store/modules/todos/mutations.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jbee37142/vuex-best-practice-lab/HEAD/src/store/modules/todos/mutations.js -------------------------------------------------------------------------------- /src/store/modules/todos/state.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jbee37142/vuex-best-practice-lab/HEAD/src/store/modules/todos/state.js -------------------------------------------------------------------------------- /src/store/modules/todos/types.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jbee37142/vuex-best-practice-lab/HEAD/src/store/modules/todos/types.js -------------------------------------------------------------------------------- /src/store/utils/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jbee37142/vuex-best-practice-lab/HEAD/src/store/utils/index.js -------------------------------------------------------------------------------- /tests/unit/.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jbee37142/vuex-best-practice-lab/HEAD/tests/unit/.eslintrc.js -------------------------------------------------------------------------------- /tests/unit/example.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jbee37142/vuex-best-practice-lab/HEAD/tests/unit/example.spec.js --------------------------------------------------------------------------------