mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-04 22:21:27 +08:00
Use fixed versions for Vue packages in repro generator
> TL;DR: Vue 3 is now the new default version as of Monday, February 7, 2022! > https://blog.vuejs.org/posts/vue-3-as-the-new-default.html
This commit is contained in:
parent
2851adb74f
commit
e1a3daecd4
@ -161,7 +161,8 @@ export const web_components_lit2: Parameters = {
|
||||
export const vue: Parameters = {
|
||||
framework: 'vue',
|
||||
name: 'vue',
|
||||
version: 'latest',
|
||||
// Be careful here, the latest versions of vue cli are bootstrapping a vue 3 project
|
||||
version: '4',
|
||||
generator: [
|
||||
// Force npm otherwise we have a mess between Yarn 1 and Yarn 2
|
||||
`npx -p @vue/cli@{{version}} vue create {{appName}} --default --packageManager=npm --no-git --force`,
|
||||
@ -201,7 +202,13 @@ export const sfcVue: Parameters = {
|
||||
framework: 'vue',
|
||||
name: 'sfcVue',
|
||||
version: 'latest',
|
||||
generator: fromDeps('vue', 'vue-loader', 'vue-template-compiler', 'webpack@webpack-4'),
|
||||
//
|
||||
generator: fromDeps(
|
||||
'vue@2.6',
|
||||
'vue-loader@15.9',
|
||||
'vue-template-compiler@2.6',
|
||||
'webpack@webpack-4'
|
||||
),
|
||||
};
|
||||
|
||||
export const svelte: Parameters = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user