feat(create-vant-cli-app): support Vue 3

This commit is contained in:
chenjiahan
2020-11-29 10:43:48 +08:00
parent 4c9236c84a
commit 5bd62a24b5
26 changed files with 305 additions and 48 deletions

View File

@@ -0,0 +1,39 @@
module.exports = {
name: '<%= name %>',
build: {
css: {
preprocessor: '<%= preprocessor %>',
},
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: 'demo-button',
title: 'DemoButton 按钮',
},
],
},
],
},
};