diff --git a/package.json b/package.json index 684ac813..f633a989 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/src/main.js b/src/main.js index 04eeec82..4f70c29c 100644 --- a/src/main.js +++ b/src/main.js @@ -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 */ diff --git a/vue.config.js b/vue.config.js index 1eaa50ca..b86b15e8 100644 --- a/vue.config.js +++ b/vue.config.js @@ -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 + } + } }