Skip to content

Commit b612061

Browse files
committed
feat: add charts
1 parent baf340a commit b612061

18 files changed

+1591
-198
lines changed

package-lock.json

Lines changed: 278 additions & 189 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@
1616
"@coreui/coreui": "^4.0.1",
1717
"@coreui/icons": "^2.0.1",
1818
"@coreui/icons-vue": "2.0.0-alpha.0",
19-
"@coreui/vue": "^4.0.0-alpha.0",
19+
"@coreui/utils": "^1.3.1",
20+
"@coreui/vue": "^4.0.0-alpha.2",
21+
"@coreui/vue-chartjs": "2.0.0-alpha.0",
2022
"core-js": "^3.6.5",
2123
"vue": "^3.0.0",
2224
"vue-router": "^4.0.0-0",

src/_nav.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -147,12 +147,12 @@ export default [
147147
// }
148148
]
149149
},
150-
// {
151-
// _name: 'CNavItem',
152-
// name: 'Charts',
153-
// to: '/charts',
154-
// icon: 'cil-chart-pie'
155-
// },
150+
{
151+
_name: 'CNavItem',
152+
name: 'Charts',
153+
to: '/charts',
154+
icon: 'cil-chart-pie'
155+
},
156156
{
157157
_name: 'CNavGroup',
158158
name: 'Icons',

src/router/index.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,11 @@ const routes = [
168168
*/
169169
]
170170
},
171+
{
172+
path: "/charts",
173+
name: "Charts",
174+
component: () => import("@/views/charts/Charts.vue"),
175+
},
171176
{
172177
path: "/icons",
173178
name: "Icons",

0 commit comments

Comments
 (0)