1 Star 0 Fork 0

mrliuxiao / v3-components

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
vue.config.js 622 Bytes
一键复制 编辑 原始数据 按行查看 历史
柳晓江 提交于 2021-08-03 17:41 . build: move demo into story directory
const path = require('path')
const resolve = filePath => path.join(__dirname, './', filePath)
module.exports = {
outputDir: 'docs',
publicPath: '/v3-components/',
devServer: { port: '3366' },
pages: {
index: {
entry: resolve('story/main.ts'),
template: 'public/index.html',
filename: 'index.html',
title: 'v3-components',
},
},
chainWebpack: config => {
config.plugins
.delete('prefetch-index')
.delete('preload-index');
config.resolve.alias
.set('story', resolve('story'))
}
}
1
https://gitee.com/mrliuxiao/v3-components.git
git@gitee.com:mrliuxiao/v3-components.git
mrliuxiao
v3-components
v3-components
master

搜索帮助