Skip to content

Commit

Permalink
feat(vuex): 添加了 vuex 打印日志服务
Browse files Browse the repository at this point in the history
  • Loading branch information
白唯 committed Sep 17, 2020
1 parent b833160 commit badae42
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 9 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
## [0.1.6](https://github.com/ibwei/vue3-base/compare/v0.1.8...v0.1.6) (2020-09-17)


### Bug Fixes

* **readme.md:** 修改项目说明文档 ([0065d42](https://github.com/ibwei/vue3-base/commit/0065d420b18ee3ddc13396b1436faee090806a16))


### Features

* **测试:** 添加测试例子,完善vuex的类型 ([b833160](https://github.com/ibwei/vue3-base/commit/b833160194808b4fd04aa0dbca1223449c7d1e88))



## 0.1.5 (2020-09-09)

### Bug Fixes
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,10 @@
|-- README.md 项目说明
|-- babel.config.js babel 设置
|-- global.d.ts 全局的 type
|-- package.json <font color="red">npm 配置</font>
|-- tsconfig.json <font color="red">typescript 配置</font>
|-- package.json npm 配置
|-- tsconfig.json typescript 配置
|-- typedoc.json 文档配置文件
|-- vue.config.js <font color="red">vue-cli 脚手架配置文件</font>
|-- vue.config.js vue-cli 脚手架配置文件
```

#### 组件编写
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
{
"name": "vue3-ts-base",
"version": "0.1.6",
"name": "vue3-base-type",
"version": "0.1.7",
"description": "一个使用vue3+typescript 搭建的项目基础架构类型声明库",
"author": {
"name": "ibwei",
"email": "997132391@qq.com",
"url": "http://me.ibwei.com"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
Expand Down Expand Up @@ -133,9 +136,6 @@
"base"
],
"license": "MIT",
"publishConfig": {
"registry": "https://npm.pkg.github.com/"
},
"repository": {
"type": "git",
"url": "https://github.com/ibwei/vue3-base"
Expand Down
3 changes: 2 additions & 1 deletion src/store/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { createStore } from 'vuex'
import { createStore, createLogger } from 'vuex'
import createPersistedState from 'vuex-persistedstate'
import mutations from './mutations'
import modules from './modules'
Expand All @@ -12,6 +12,7 @@ const store: StoreInstance = createStore({
actions: {},
modules: { ...modules },
plugins: [
createLogger(),
createPersistedState({
paths: ['app']
})
Expand Down

0 comments on commit badae42

Please sign in to comment.