Skip to content

Commit afa566d

Browse files
committed
feat: include createLogger function in core export
1 parent 3d110c6 commit afa566d

28 files changed

+49
-4586
lines changed

.gitignore

-5
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,9 @@
11
/dist
2-
!/dist/logger.d.ts
32
/docs/.vuepress/dist
4-
/examples/**/build.js
53
/coverage
64
/docs/.vuepress/dist
7-
/examples/**/build.js
85
/test/e2e/reports
96
/test/e2e/screenshots
10-
/types/typings
11-
/types/test/*.js
127
*.log
138
.DS_Store
149
node_modules

README.md

+9-1
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,14 @@ declare module '@vue/runtime-core' {
8585
}
8686
```
8787

88-
## TODOs as of 4.0.0-beta.1
88+
### `createLogger` function is exported from the core module
89+
90+
In Vuex 3, `createLogger` function was exported from `vuex/dist/logger` but it's now included in the core package. You should import the function directly from `vuex` package.
91+
92+
```js
93+
import { createLogger } from 'vuex'
94+
```
95+
96+
## TODOs as of 4.0.0-beta.2
8997

9098
- Update docs

dist/logger.d.ts

-17
This file was deleted.

dist/logger.js

-155
This file was deleted.

0 commit comments

Comments
 (0)