CodeSandbox dependencies updated
parent
bed426f6d7
commit
a8fc6f1d20
|
@ -6,8 +6,8 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import EventBus from '@/layouts/AppEventBus';
|
import EventBus from '@/layouts/AppEventBus';
|
||||||
|
import packageJson from '@/package.json';
|
||||||
import { data, services } from './LiveEditorData';
|
import { data, services } from './LiveEditorData';
|
||||||
|
|
||||||
const sourceTypes = ['options-api', 'composition-api', 'browser-source'];
|
const sourceTypes = ['options-api', 'composition-api', 'browser-source'];
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
@ -111,7 +111,7 @@ export default {
|
||||||
let extIndexCSS = extFiles['index.css'] || '';
|
let extIndexCSS = extFiles['index.css'] || '';
|
||||||
delete extFiles['index.css'];
|
delete extFiles['index.css'];
|
||||||
|
|
||||||
const dependencies = require('../../../package.json') ? require('../../../package.json').devDependencies : {};
|
const dependencies = packageJson || {};
|
||||||
|
|
||||||
let defaultCss = {
|
let defaultCss = {
|
||||||
content: `html {
|
content: `html {
|
||||||
|
@ -338,21 +338,20 @@ export default {
|
||||||
main: `src/demo/${nameWithExt}`,
|
main: `src/demo/${nameWithExt}`,
|
||||||
dependencies: {
|
dependencies: {
|
||||||
...extDependencies,
|
...extDependencies,
|
||||||
vue: dependencies['vue'],
|
vue: '3.2.31',
|
||||||
primevue: '^3.21.0',
|
primevue: '^3.21.0',
|
||||||
primeflex: dependencies['primeflex'],
|
primeflex: dependencies.devDependencies['primeflex'],
|
||||||
primeicons: dependencies['primeicons'],
|
primeicons: dependencies.devDependencies['primeicons'],
|
||||||
'@babel/cli': dependencies['@babel/cli'],
|
'@babel/cli': '^7.4.4',
|
||||||
'core-js': dependencies['core-js'],
|
'vue-router': '^4.0.0-0'
|
||||||
'vue-router': dependencies['vue-router']
|
|
||||||
},
|
},
|
||||||
devDependencies: {
|
devDependencies: {
|
||||||
'@vue/cli-plugin-babel': dependencies['@vue/cli-plugin-babel'],
|
'@vue/cli-plugin-babel': '~4.5.0',
|
||||||
'@vue/cli-plugin-eslint': dependencies['@vue/cli-plugin-eslint'],
|
'@vue/cli-plugin-eslint': '~4.5.0',
|
||||||
'@vue/cli-service': dependencies['@vue/cli-service'],
|
'@vue/cli-service': '~4.5.0',
|
||||||
'@vue/compiler-sfc': dependencies['@vue/compiler-sfc'],
|
'@vue/compiler-sfc': dependencies['@vue/compiler-sfc'],
|
||||||
eslint: dependencies['eslint'],
|
eslint: '^6.0.0',
|
||||||
'eslint-plugin-vue': dependencies['eslint-plugin-vue']
|
'eslint-plugin-vue': '^7.0.0'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue