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

修改网站图标

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