1 Star 1 Fork 0

黄马云/epee-ui

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
vue.config.js 889 Bytes
一键复制 编辑 原始数据 按行查看 历史
黄马云 提交于 2020-11-02 07:42 . 11
const path = require('path');
const webpack = require('webpack')
const resolve = filePath => path.join(__dirname, './', filePath)
module.exports = {
outputDir: 'docs',
publicPath: '/epee-ui/',
devServer: {
port: '3366'
},
pages: {
index: {
entry: resolve('story/main.ts'),
template: 'public/index.html',
filename: 'index.html',
title: 'epee-ui',
},
},
chainWebpack: config => {
config.plugins
.delete('prefetch-index')
.delete('preload-index');
config.resolve.alias
.set('story', resolve('story'))
.set('src', resolve('src'))
},
css: {
loaderOptions: {
sass: {
prependData: `@import "src/style/global-import.scss";`
},
}
},
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/hhhsir/epee-ui.git
git@gitee.com:hhhsir/epee-ui.git
hhhsir
epee-ui
epee-ui
master

搜索帮助

D67c1975 1850385 1daf7b77 1850385