Commit 98dd3c0d authored by 叶飞's avatar 叶飞

init

parent a553f6b1
...@@ -5,7 +5,7 @@ const resolvePath=(p)=>path.resolve(__dirname,p); ...@@ -5,7 +5,7 @@ const resolvePath=(p)=>path.resolve(__dirname,p);
module.exports = { module.exports = {
dest: resolvePath('../../dist'), dest: resolvePath('../../dist'),
// base: '/iot/', base: '/iot/',
title: "物联网知识库", title: "物联网知识库",
description: '物联网知识点分享', description: '物联网知识点分享',
head: [ head: [
......
...@@ -13,6 +13,5 @@ module.exports = [ ...@@ -13,6 +13,5 @@ module.exports = [
link: '/views/plc/schneider/' link: '/views/plc/schneider/'
}, },
] ]
}, }
{ text: 'foo', link: '/foo/', icon: 'reco-category' },
] ]
\ No newline at end of file
//侧边栏
module.exports = {
'/views/gateway/': [{
title:'边缘网关',
collapsable:false,
children: [
'/views/gateway',
]
}],
'/plc/siemens/': [{
title: 'Siemens',
collapsable: false,
children: [
'/views/plc/siemens',
]
}],
'/plc/schneider/': [{
title: 'Schneider',
collapsable: false,
children: [
'/views/plc/schneider',
]
}],
'/foo/':[
''
],
'/': ['']
}
\ No newline at end of file
# foo
\ No newline at end of file
...@@ -5,7 +5,8 @@ ...@@ -5,7 +5,8 @@
## 项目运行 ## 项目运行
- 在项目文件夹下执行命令,加载依赖:`npm install` - 在项目文件夹下执行命令,加载依赖:`npm install`
- 在项目文件夹下执行命令,运行项目:`npm run build` - 在项目文件夹下执行命令,开发项目:`npm run dev`
- 在项目文件夹下执行命令,打包项目:`npm run build`
- 待启动成功后打开地址即可:[http://localhost:8080/iot/](http://localhost:8080/iot/) - 待启动成功后打开地址即可:[http://localhost:8080/iot/](http://localhost:8080/iot/)
## 项目架构 ## 项目架构
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment