File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 11{
2- "sandboxes" : [" 0d335 " ]
2+ "sandboxes" : [" qeu9j " ]
33}
Original file line number Diff line number Diff line change @@ -491,17 +491,24 @@ export default {
491491 ' ' ,
492492 " new Vue({ el: '#app', render: h => h(App) })"
493493 ].join (' \r\n ' )
494+ const scripts = {
495+ serve: ' vue-cli-service serve' ,
496+ build: ' vue-cli-service build'
497+ }
494498 const dependencies = {
495499 bootstrap: bootstrapVersion,
496500 ' bootstrap-vue' : bootstrapVueVersion,
497501 vue: vueVersion
498502 }
503+ const devDependencies = {
504+ ' @vue/cli-service' : ' ^4.3.0'
505+ }
499506 return getCodeSandboxParameters ({
500507 files: {
501508 ' App.vue' : { content: vueContent },
502509 ' index.html' : { content: htmlContent },
503510 ' index.js' : { content: jsContent },
504- ' package.json' : { content: { dependencies } }
511+ ' package.json' : { content: { scripts, dependencies, devDependencies } }
505512 }
506513 })
507514 },
You can’t perform that action at this time.
0 commit comments