Skip to content

Commit afec157

Browse files
committed
feat(sidebar): added doc menu
1 parent 82b906e commit afec157

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

src/components/Sidebar/Sidebar.vue

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,14 @@
5959
badge="9"
6060
isHeader
6161
/>
62+
<NavLink
63+
:activeItem="activeItem"
64+
header="Documentation"
65+
link="/documentation"
66+
iconName="flaticon-file"
67+
index="documentation"
68+
isHeader
69+
/>
6270
<h5 class="navTitle">TEMPLATE</h5>
6371
<NavLink
6472
:activeItem="activeItem"

vue.config.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
const path = require('path');
2+
let publicPath = process.env.NODE_ENV !== 'production' ? '/' :
3+
process.env.VUE_APP_THEME === 'light' ? 'light-blue-vue/white/' : 'light-blue-vue/dark/';
24

35
module.exports = {
4-
// publicPath: 'light-blue-vue/dark/',
6+
publicPath,
57
productionSourceMap: false,
68
configureWebpack: config => {
79
if (process.env.NODE_ENV === 'production') {

0 commit comments

Comments
 (0)