Skip to content

Commit 5c27ac3

Browse files
committed
feat(vue-template)!: auto unref in vue-template
see unjs/unimport#72
1 parent f4fd8f2 commit 5c27ac3

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ AutoImport({
211211
dts: './auto-imports.d.ts',
212212

213213
// Auto import inside Vue template
214-
// see https://github.com/unjs/unimport/pull/15
214+
// see https://github.com/unjs/unimport/pull/15 and https://github.com/unjs/unimport/pull/72
215215
vueTemplate: false,
216216

217217
// Custom resolvers, compatible with `unplugin-vue-components`

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@
9696
"@rollup/pluginutils": "^4.2.1",
9797
"local-pkg": "^0.4.1",
9898
"magic-string": "^0.26.2",
99-
"unimport": "^0.2.9",
99+
"unimport": "^0.3.0",
100100
"unplugin": "^0.7.0"
101101
},
102102
"devDependencies": {

pnpm-lock.yaml

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/types.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ export interface Options {
108108
* Auto import inside Vue templates
109109
*
110110
* @see https://github.com/unjs/unimport/pull/15
111+
* @see https://github.com/unjs/unimport/pull/72
111112
* @default false
112113
*/
113114
vueTemplate?: boolean

0 commit comments

Comments
 (0)