chore: add vant-doc package (#4197)

This commit is contained in:
neverland
2019-08-22 20:11:09 +08:00
committed by GitHub
parent f3f3789011
commit eeb65ed922
24 changed files with 1395 additions and 108 deletions

View File

@@ -67,13 +67,13 @@ module.exports = {
new VueLoaderPlugin(),
new HtmlWebpackPlugin({
chunks: ['vant-docs'],
template: 'docs/site/desktop/index.html',
template: path.join(__dirname, '../docs/site/desktop/index.html'),
filename: 'index.html',
inject: true
}),
new HtmlWebpackPlugin({
chunks: ['vant-mobile'],
template: 'docs/site/mobile/index.html',
template: path.join(__dirname, '../docs/site/mobile/index.html'),
filename: 'mobile.html',
inject: true
})