Skip to content

Commit

Permalink
fix(v3): don't try to generate shims-vuetify
Browse files Browse the repository at this point in the history
fixes #333
  • Loading branch information
KaelWD committed Aug 19, 2022
1 parent bb37759 commit 6c2b4de
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/vue-cli-plugin-vuetify/generator/tools/vuetify.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ function renderFiles (api, { opts }) {
typescript: opts.hasTS,
})

if (opts.hasTS && opts.useAlaCarte) {
if (opts.hasTS && opts.useAlaCarte && !opts.useV3) {
api.render({
'./src/shims-vuetify.d.ts': opts.useV3 ? '../templates/v3/src/shims-vuetify.d.ts' : '../templates/default/src/shims-vuetify.d.ts',
'./src/shims-vuetify.d.ts': '../templates/default/src/shims-vuetify.d.ts',
})
}

Expand Down
2 changes: 1 addition & 1 deletion packages/vue-cli-plugin-vuetify/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vue-cli-plugin-vuetify",
"version": "2.5.2",
"version": "2.5.3",
"description": "Vuetify Framework Plugin for Vue CLI 3",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 6c2b4de

Please sign in to comment.