diff --git a/package.json b/package.json index 84d457a3..a7337bd6 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "license": "MIT", "scripts": { "serve": "vue-cli-service serve", - "build": "vue-cli-service build --modern", + "build": "vue-cli-service build", "lint": "vue-cli-service lint", "test:unit": "vue-cli-service test:unit", "test:e2e": "vue-cli-service test:e2e" @@ -17,7 +17,7 @@ "@coreui/coreui": "next", "@coreui/coreui-plugin-chartjs-custom-tooltips": "^1.3.0", "@coreui/coreui-vue-chartjs": "file:../coreui-vue-chartjs", - "@coreui/icons": "0.3.0", + "@coreui/icons": "../coreui-icons", "@coreui/vue": "file:../coreui-vue", "babel-polyfill": "^6.26.0", "bootstrap": "^4.1.3", diff --git a/src/main.js b/src/main.js index 2d590144..df9356c6 100644 --- a/src/main.js +++ b/src/main.js @@ -11,13 +11,17 @@ import Vue from 'vue' import App from './App' import router from './router' import CoreuiVue from '@coreui/vue/src' +import { CIconPlugin } from '@coreui/icons/vue' + +// import CoreuiVue from '@coreui/vue' +// import CoreuiVue from '@coreui/vue/dist/custom.common.js' Vue.config.performance = true // todo // cssVars() Vue.use(CoreuiVue) - +Vue.use(CIconPlugin) /* eslint-disable no-new */ var vm = new Vue({ diff --git a/src/views/base/Tabs.vue b/src/views/base/Tabs.vue index b301bfcf..04a74fd2 100644 --- a/src/views/base/Tabs.vue +++ b/src/views/base/Tabs.vue @@ -109,16 +109,13 @@ - + Tabs vertical - + {{tabs[0]}} diff --git a/src/views/buttons/StandardButtons.vue b/src/views/buttons/StandardButtons.vue index 0061082c..2defcf00 100644 --- a/src/views/buttons/StandardButtons.vue +++ b/src/views/buttons/StandardButtons.vue @@ -109,35 +109,35 @@ - Use variant="outline-*" prop + Use outline prop Normal - Primary + Primary - Secondary + Secondary - Success + Success - Warning + Warning - Danger + Danger - Info + Info - Light + Light - Dark + Dark @@ -146,28 +146,28 @@ Active State - Primary + Primary - Secondary + Secondary - Success + Success - Warning + Warning - Danger + Danger - Info + Info - Light + Light - Dark + Dark @@ -176,28 +176,28 @@ Disabled - Primary + Primary - Secondary + Secondary - Success + Success - Warning + Warning - Danger + Danger - Info + Info - Light + Light - Dark + Dark @@ -532,7 +532,7 @@ Standard Button - Outline Button + Outline Button Ghost Button @@ -552,7 +552,7 @@ Standard Button - Outline Button + Outline Button Ghost Button @@ -572,7 +572,7 @@ Standard Button - Outline Button + Outline Button Ghost Button @@ -627,22 +627,22 @@ - Primary {{togglePress ? 'On ' : 'Off'}} + Primary {{togglePress ? 'On ' : 'Off'}} - Secondary {{togglePress ? 'On ' : 'Off'}} + Secondary {{togglePress ? 'On ' : 'Off'}} - Success {{togglePress ? 'On ' : 'Off'}} + Success {{togglePress ? 'On ' : 'Off'}} - Info {{togglePress ? 'On ' : 'Off'}} + Info {{togglePress ? 'On ' : 'Off'}} - Warning {{togglePress ? 'On ' : 'Off'}} + Warning {{togglePress ? 'On ' : 'Off'}} - Danger {{togglePress ? 'On ' : 'Off'}} + Danger {{togglePress ? 'On ' : 'Off'}} @@ -670,12 +670,12 @@ Block Level CButtons Add this block - Block level button - Block level button - Block level button - Block level button - Block level button - Block level button + Block level button + Block level button + Block level button + Block level button + Block level button + Block level button Block level button diff --git a/src/views/notifications/Alerts.vue b/src/views/notifications/Alerts.vue index f1cf1860..c836be05 100644 --- a/src/views/notifications/Alerts.vue +++ b/src/views/notifications/Alerts.vue @@ -119,7 +119,7 @@ Dismissible Alert with custom button!
- Use variant="outline-*" prop + Use outline prop
variant="outline-*"
outline
block