From 9aae4b3e9006f8b453855ad15c471b444aab90d2 Mon Sep 17 00:00:00 2001
From: woothu <32914662+woothu@users.noreply.github.com>
Date: Tue, 18 Jun 2019 12:05:18 +0200
Subject: [PATCH] chore: delete obsolete files, packages, imports and polyfills
---
.editorconfig | 14 -----
package.json | 21 ++------
src/main.js | 11 +---
src/views/Dashboard.vue | 2 -
src/views/charts/CalloutChartExample.vue | 69 ------------------------
5 files changed, 6 insertions(+), 111 deletions(-)
delete mode 100644 .editorconfig
delete mode 100644 src/views/charts/CalloutChartExample.vue
diff --git a/.editorconfig b/.editorconfig
deleted file mode 100644
index 54e4850b..00000000
--- a/.editorconfig
+++ /dev/null
@@ -1,14 +0,0 @@
-# Editor configuration, see http://editorconfig.org
-root = true
-
-[*]
-charset = utf-8
-end_of_line = lf
-indent_size = 2
-indent_style = space
-insert_final_newline = true
-trim_trailing_whitespace = true
-
-[*.md]
-max_line_length = off
-trim_trailing_whitespace = false
diff --git a/package.json b/package.json
index e0da24df..465efb8a 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "@coreui/coreui-free-vue-admin-template",
- "version": "3.0.0-alpha.2",
+ "version": "3.0.0-alpha.3",
"description": "Open Source Bootstrap Admin Template",
"author": "Ćukasz Holeczek",
"homepage": "http://coreui.io",
@@ -16,21 +16,10 @@
"dependencies": {
"@coreui/coreui": "next",
"@coreui/coreui-plugin-chartjs-custom-tooltips": "^1.3.0",
- "@coreui/coreui-vue-chartjs": "file:../coreui-vue-chartjs",
- "@coreui/icons": "../coreui-icons",
- "@coreui/vue": "file:../coreui-vue",
- "babel-polyfill": "^6.26.0",
- "bootstrap": "^4.1.3",
- "chart.js": "^2.7.3",
- "core-js": "^2.5.7",
- "css-vars-ponyfill": "^1.11.1",
- "current-script-polyfill": "^1.0.0",
- "element-resize-detector": "^1.2.0",
- "perfect-scrollbar": "^1.4.0",
- "tooltip.js": "^1.3.1",
- "vue": "^2.6.6",
- "vue-chartjs": "^3.4.0",
- "vue-perfect-scrollbar": "^0.1.0",
+ "@coreui/coreui-vue-chartjs": "coreui/coreui-vue-chartjs",
+ "@coreui/icons": "coreui/coreui-icons#v1-alpha",
+ "@coreui/vue": "../coreui-vue",
+ "vue": "^2.6.10",
"vue-router": "^3.0.1"
},
"devDependencies": {
diff --git a/src/main.js b/src/main.js
index cc3f4e68..cc40c4ad 100644
--- a/src/main.js
+++ b/src/main.js
@@ -1,12 +1,3 @@
-// The Vue build version to load with the `import` command
-// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
-
-import 'core-js/es6/promise'
-import 'core-js/es6/string'
-import 'core-js/es7/array'
-import '@babel/polyfill'
-
-// import cssVars from 'css-vars-ponyfill'
import Vue from 'vue'
import App from './App'
import router from './router'
@@ -14,7 +5,7 @@ import router from './router'
import { CIconPlugin } from '@coreui/icons/vue'
import { iconsSet } from './assets/icons/icons.js'
-import CoreuiVue from '@coreui/vue'
+import CoreuiVue from '@coreui/vue/src'
Vue.config.performance = true
Vue.use(CoreuiVue)
diff --git a/src/views/Dashboard.vue b/src/views/Dashboard.vue
index 30725960..15faaa59 100644
--- a/src/views/Dashboard.vue
+++ b/src/views/Dashboard.vue
@@ -452,14 +452,12 @@
import MainChartExample from './charts/MainChartExample'
import WidgetsDropdown from './widgets/WidgetsDropdown'
import WidgetsSocial from './widgets/WidgetsSocial'
-import CalloutChartExample from './charts/CalloutChartExample'
import CChartLineSimple from './charts/CChartLineSimple'
export default {
name: 'Dashboard',
components: {
MainChartExample,
- CalloutChartExample,
WidgetsDropdown,
WidgetsSocial,
CChartLineSimple
diff --git a/src/views/charts/CalloutChartExample.vue b/src/views/charts/CalloutChartExample.vue
deleted file mode 100644
index 33afebd0..00000000
--- a/src/views/charts/CalloutChartExample.vue
+++ /dev/null
@@ -1,69 +0,0 @@
-
-
-
-
-