Skip to content
Permalink
Browse files
fix: CodeSandbox integration (#5381)
  • Loading branch information
jacobmllr95 committed May 15, 2020
1 parent 0a679c8 commit a948846400c37fca0fa3ed673b1c4684fc6f69e1
Showing 2 changed files with 9 additions and 2 deletions.
@@ -1,3 +1,3 @@
{
"sandboxes": ["0d335"]
"sandboxes": ["qeu9j"]
}
@@ -491,17 +491,24 @@ export default {
'',
"new Vue({ el: '#app', render: h => h(App) })"
].join('\r\n')
const scripts = {
serve: 'vue-cli-service serve',
build: 'vue-cli-service build'
}
const dependencies = {
bootstrap: bootstrapVersion,
'bootstrap-vue': bootstrapVueVersion,
vue: vueVersion
}
const devDependencies = {
'@vue/cli-service': '^4.3.0'
}
return getCodeSandboxParameters({
files: {
'App.vue': { content: vueContent },
'index.html': { content: htmlContent },
'index.js': { content: jsContent },
'package.json': { content: { dependencies } }
'package.json': { content: { scripts, dependencies, devDependencies } }
}
})
},

0 comments on commit a948846

Please sign in to comment.