提交 628a789f authored 作者: 王鹏飞's avatar 王鹏飞

修改网站图标

上级 74ad5c82
......@@ -94,7 +94,7 @@ if ($GLOBAL.isDev === 'development') {
new HtmlWebpackPlugin({
template: $GLOBAL.templatePath,
inject: true,
favicon: $GLOBAL.icoPath
// favicon: $GLOBAL.icoPath
}),
new VconsoleWebpackPlugin({
filter: [],
......@@ -153,7 +153,7 @@ if ($GLOBAL.isDev === 'development') {
new HtmlWebpackPlugin({
template: $GLOBAL.templatePath,
inject: true,
favicon: $GLOBAL.icoPath,
// favicon: $GLOBAL.icoPath,
minify: {
removeComments: true,
collapseWhitespace: true
......
<template>
<div style="height: 100%; width: 100%;">
<div style="height: 100%; width: 100%">
<router-view></router-view>
</div>
</template>
<script>
export default {
metaInfo() {
return {
link: [{ rel: 'icon', href: 'https://zws-imgs-pub.ezijing.com/static/build/learn-test/favicon.ico' }]
}
}
}
</script>
<style lang="scss" scoped>
</style>
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论