chore: Enable linking to coreui-vue in develop.

This commit is contained in:
woothu
2019-02-06 17:44:58 +01:00
parent da02129f01
commit 6433e8ac1e
3 changed files with 15 additions and 4 deletions
+1 -1
View File
@@ -17,9 +17,9 @@
"@coreui/coreui": "^2.1.6",
"@coreui/coreui-plugin-chartjs-custom-tooltips": "^1.2.0",
"@coreui/icons": "0.3.0",
"@coreui/vue": "github:coreui/coreui-vue#woothu",
"bootstrap": "^4.1.3",
"bootstrap-vue": "^2.0.0-rc.11",
"@coreui/vue": "../coreui-vue",
"chart.js": "^2.7.3",
"core-js": "^2.5.7",
"css-vars-ponyfill": "^1.11.1",
+7 -2
View File
@@ -9,14 +9,19 @@ import Vue from 'vue'
import BootstrapVue from 'bootstrap-vue'
import App from './App'
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
// todo
// cssVars()
Vue.use(BootstrapVue)
Vue.use(CoreuiVue)
Vue.use(CoreuiVueLink)
/* eslint-disable no-new */
+7 -1
View File
@@ -1,4 +1,10 @@
module.exports = {
lintOnSave: false,
runtimeCompiler: true
runtimeCompiler: true,
configureWebpack: {
//Necessary to run npm link https://webpack.js.org/configuration/resolve/#resolve-symlinks
resolve: {
symlinks: false
}
}
}