Skip to content

Commit

Permalink
feat: include createLogger function in core export
Browse files Browse the repository at this point in the history
  • Loading branch information
kiaking committed Jun 26, 2020
1 parent 3d110c6 commit afa566d
Show file tree
Hide file tree
Showing 28 changed files with 49 additions and 4,586 deletions.
5 changes: 0 additions & 5 deletions .gitignore
@@ -1,14 +1,9 @@
/dist
!/dist/logger.d.ts
/docs/.vuepress/dist
/examples/**/build.js
/coverage
/docs/.vuepress/dist
/examples/**/build.js
/test/e2e/reports
/test/e2e/screenshots
/types/typings
/types/test/*.js
*.log
.DS_Store
node_modules
10 changes: 9 additions & 1 deletion README.md
Expand Up @@ -85,6 +85,14 @@ declare module '@vue/runtime-core' {
}
```

## TODOs as of 4.0.0-beta.1
### `createLogger` function is exported from the core module

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.

```js
import { createLogger } from 'vuex'
```

## TODOs as of 4.0.0-beta.2

- Update docs
17 changes: 0 additions & 17 deletions dist/logger.d.ts

This file was deleted.

155 changes: 0 additions & 155 deletions dist/logger.js

This file was deleted.

0 comments on commit afa566d

Please sign in to comment.