Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
VisualDL
提交
2e756930
V
VisualDL
项目概览
PaddlePaddle
/
VisualDL
1 年多 前同步成功
通知
88
Star
4655
Fork
642
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
10
列表
看板
标记
里程碑
合并请求
2
Wiki
5
Wiki
分析
仓库
DevOps
项目成员
Pages
V
VisualDL
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
10
Issue
10
列表
看板
标记
里程碑
合并请求
2
合并请求
2
Pages
分析
分析
仓库分析
DevOps
Wiki
5
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
2e756930
编写于
8月 21, 2018
作者:
N
Nicky Chan
提交者:
daminglu
8月 21, 2018
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix Favicon not show up (#488)
上级
1222e5d0
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
4 addition
and
2 deletion
+4
-2
frontend/src/assets/favicon.png
frontend/src/assets/favicon.png
+0
-0
frontend/template/index.html
frontend/template/index.html
+1
-1
frontend/tool/webpack.config.js
frontend/tool/webpack.config.js
+3
-1
未找到文件。
frontend/src/
image
s/favicon.png
→
frontend/src/
asset
s/favicon.png
浏览文件 @
2e756930
文件已移动
frontend/template/index.html
浏览文件 @
2e756930
...
...
@@ -5,7 +5,7 @@
<title>
Visual DL
</title>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=Edge"
>
<link
rel=
"shortcut icon"
type=
"image/png"
href=
"
/static/
favicon.png"
/>
<link
rel=
"shortcut icon"
type=
"image/png"
href=
"favicon.png"
/>
<link
href=
'https://fonts.googleapis.com/css?family=Roboto:300,400,500,700|Material+Icons'
rel=
"stylesheet"
>
<script
type=
"text/javascript"
src=
"https://dagrejs.github.io/project/dagre-d3/latest/dagre-d3.min.js"
></script>
</head>
...
...
frontend/tool/webpack.config.js
浏览文件 @
2e756930
...
...
@@ -7,6 +7,7 @@ const argv = require('yargs').argv;
const
isDev
=
process
.
env
.
NODE_ENV
===
'
dev
'
;
const
entry
=
require
(
'
./entry
'
);
const
ExtractTextPlugin
=
require
(
'
extract-text-webpack-plugin
'
);
const
HtmlWebpackPlugin
=
require
(
'
html-webpack-plugin
'
);
function
getLoaders
(
isDev
,
ext
)
{
let
arr
=
[
'
css-loader
'
];
...
...
@@ -122,7 +123,8 @@ const config = {
new
webpack
.
LoaderOptionsPlugin
({
test
:
/
\.(
styl
)
$/
}),
new
ExtractTextPlugin
({
filename
:
'
[name].css
'
})
new
ExtractTextPlugin
({
filename
:
'
[name].css
'
}),
new
HtmlWebpackPlugin
({
favicon
:
'
src/assets/favicon.png
'
})
],
externals
:
{
dagreD3
:
'
dagre-d3
'
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录