Skip to content

Commit

Permalink
feat(vue-template)!: auto unref in vue-template
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Jun 22, 2022
1 parent f4fd8f2 commit 5c27ac3
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -211,7 +211,7 @@ AutoImport({
dts: './auto-imports.d.ts',

// Auto import inside Vue template
// see https://github.com/unjs/unimport/pull/15
// see https://github.com/unjs/unimport/pull/15 and https://github.com/unjs/unimport/pull/72
vueTemplate: false,

// Custom resolvers, compatible with `unplugin-vue-components`
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -96,7 +96,7 @@
"@rollup/pluginutils": "^4.2.1",
"local-pkg": "^0.4.1",
"magic-string": "^0.26.2",
"unimport": "^0.2.9",
"unimport": "^0.3.0",
"unplugin": "^0.7.0"
},
"devDependencies": {
Expand Down
8 changes: 4 additions & 4 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/types.ts
Expand Up @@ -108,6 +108,7 @@ export interface Options {
* Auto import inside Vue templates
*
* @see https://github.com/unjs/unimport/pull/15
* @see https://github.com/unjs/unimport/pull/72
* @default false
*/
vueTemplate?: boolean
Expand Down

0 comments on commit 5c27ac3

Please sign in to comment.