Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
inori_templ
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
zpc
inori_templ
提交
fb116447
提交
fb116447
编写于
9月 16, 2019
作者:
zhangpingchuan
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
zpc
上级
e288875e
流水线
#204
已失败 ,包含阶段
变更
4
流水线
1
显示空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
0 行增加
和
102 行删除
+0
-102
.gitignore
.gitignore
+0
-21
README.md
README.md
+0
-29
babel.config.js
babel.config.js
+0
-5
vue.config.js
vue.config.js
+0
-47
未找到文件。
.gitignore
已删除
100644 → 0
浏览文件 @
e288875e
.DS_Store
node_modules
/dist
# local env files
.env.local
.env.*.local
# Log files
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# Editor directories and files
.idea
.vscode
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
README.md
已删除
100644 → 0
浏览文件 @
e288875e
# super-form-two
## Project setup
```
yarn install
```
### Compiles and hot-reloads for development
```
yarn serve
```
### Compiles and minifies for production
```
yarn run build
```
### Run your tests
```
yarn run test
```
### Lints and fixes files
```
yarn run lint
```
### Customize configuration
See
[
Configuration Reference
](
https://cli.vuejs.org/config/
)
.
babel.config.js
已删除
100644 → 0
浏览文件 @
e288875e
module
.
exports
=
{
presets
:
[
'@vue/app'
]
}
vue.config.js
已删除
100644 → 0
浏览文件 @
e288875e
const
path
=
require
(
'path'
);
const
os
=
require
(
'os'
);
function
resolve
(
dir
)
{
return
path
.
join
(
__dirname
,
dir
)
}
module
.
exports
=
{
publicPath
:
'./'
,
// 输出文件目录
outputDir
:
'dist'
,
// 去除 map 文件
productionSourceMap
:
false
,
devServer
:
{
host
:
'0.0.0.0'
,
port
:
8111
,
compress
:
true
,
disableHostCheck
:
true
,
},
pages
:
{
index
:
{
// page 的入口
entry
:
'src/main.js'
,
// 模板来源
template
:
'public/index.html'
,
// 在 dist/index.html 的输出
filename
:
'index.html'
,
// 当使用 title 选项时,
// template 中的 title 标签需要是 <title><%= htmlWebpackPlugin.options.title %></title>
title
:
'超级表单首页'
,
}
},
chainWebpack
:
(
config
)
=>
{
const
pages
=
[
'index'
];
pages
.
forEach
((
str
)
=>
{
// 删除自动计算预加载资源
config
.
plugins
.
delete
(
'preload-'
+
str
);
// 删除预加载资源
config
.
plugins
.
delete
(
'prefetch-'
+
str
);
});
config
.
resolve
.
alias
.
set
(
'@components'
,
resolve
(
'src/components'
))
.
set
(
'@utils'
,
resolve
(
'src/common/utils'
))
.
set
(
'@pages'
,
resolve
(
'src/pages'
))
.
set
(
'@forms'
,
resolve
(
'src/forms'
))
}
}
\ No newline at end of file
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录