chore: Enable linking to coreui-vue in develop.
This commit is contained in:
+1
-1
@@ -17,9 +17,9 @@
|
|||||||
"@coreui/coreui": "^2.1.6",
|
"@coreui/coreui": "^2.1.6",
|
||||||
"@coreui/coreui-plugin-chartjs-custom-tooltips": "^1.2.0",
|
"@coreui/coreui-plugin-chartjs-custom-tooltips": "^1.2.0",
|
||||||
"@coreui/icons": "0.3.0",
|
"@coreui/icons": "0.3.0",
|
||||||
"@coreui/vue": "github:coreui/coreui-vue#woothu",
|
|
||||||
"bootstrap": "^4.1.3",
|
"bootstrap": "^4.1.3",
|
||||||
"bootstrap-vue": "^2.0.0-rc.11",
|
"bootstrap-vue": "^2.0.0-rc.11",
|
||||||
|
"@coreui/vue": "../coreui-vue",
|
||||||
"chart.js": "^2.7.3",
|
"chart.js": "^2.7.3",
|
||||||
"core-js": "^2.5.7",
|
"core-js": "^2.5.7",
|
||||||
"css-vars-ponyfill": "^1.11.1",
|
"css-vars-ponyfill": "^1.11.1",
|
||||||
|
|||||||
+7
-2
@@ -9,14 +9,19 @@ import Vue from 'vue'
|
|||||||
import BootstrapVue from 'bootstrap-vue'
|
import BootstrapVue from 'bootstrap-vue'
|
||||||
import App from './App'
|
import App from './App'
|
||||||
import router from './router'
|
import router from './router'
|
||||||
import CoreuiVue from '@coreui/vue'
|
|
||||||
|
|
||||||
|
|
||||||
|
//only for development with link
|
||||||
|
import CoreuiVueLink from '@coreui/vue/src'
|
||||||
|
// import CoreuiVue from '@coreui/vue'
|
||||||
|
|
||||||
Vue.config.performance = true
|
Vue.config.performance = true
|
||||||
|
|
||||||
// todo
|
// todo
|
||||||
// cssVars()
|
// cssVars()
|
||||||
Vue.use(BootstrapVue)
|
Vue.use(BootstrapVue)
|
||||||
Vue.use(CoreuiVue)
|
Vue.use(CoreuiVueLink)
|
||||||
|
|
||||||
|
|
||||||
/* eslint-disable no-new */
|
/* eslint-disable no-new */
|
||||||
|
|||||||
+7
-1
@@ -1,4 +1,10 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
lintOnSave: false,
|
lintOnSave: false,
|
||||||
runtimeCompiler: true
|
runtimeCompiler: true,
|
||||||
|
configureWebpack: {
|
||||||
|
//Necessary to run npm link https://webpack.js.org/configuration/resolve/#resolve-symlinks
|
||||||
|
resolve: {
|
||||||
|
symlinks: false
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user