Skip to content

Commit

Permalink
Merge pull request #14552 from morphatic/cli/initiate-properly-detect…
Browse files Browse the repository at this point in the history
…s-vuetify3

CLI: properly detect vuetify3
  • Loading branch information
shilman committed Apr 14, 2021
1 parent 2324636 commit ee37248
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/cli/src/project_types.ts
Expand Up @@ -126,7 +126,10 @@ export const supportedTemplates: TemplateConfiguration[] = [
},
{
preset: ProjectType.SFC_VUE,
dependencies: ['vue-loader', 'vuetify'],
dependencies: {
'vue-loader': (versionRange) => ltMajor(versionRange, 16),
vuetify: (versionRange) => ltMajor(versionRange, 3),
},
matcherFunction: ({ dependencies }) => {
return dependencies.some(Boolean);
},
Expand Down

0 comments on commit ee37248

Please sign in to comment.