feat(cli): add create command

This commit is contained in:
陈嘉涵
2020-01-16 17:06:22 +08:00
parent 38001e59f0
commit 62a1b39b2b
31 changed files with 677 additions and 258 deletions
@@ -0,0 +1,36 @@
module.exports = {
name: '<%= name %>',
build: {
site: {
publicPath: '/<%= name %>/'
}
},
site: {
title: '<%= name %>',
logo: 'https://img.yzcdn.cn/vant/logo.png',
nav: [
{
title: '开发指南',
items: [
{
path: 'home',
title: '介绍'
},
{
path: 'quickstart',
title: '快速上手'
}
]
},
{
title: '基础组件',
items: [
{
path: 'my-button',
title: 'MyButton 按钮'
}
]
}
]
}
};