-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvue.config.js
More file actions
30 lines (27 loc) · 1.05 KB
/
Copy pathvue.config.js
File metadata and controls
30 lines (27 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
transpileDependencies: true,
pluginOptions: {
vuetify: {
// https://github.com/vuetifyjs/vuetify-loader/tree/next/packages/vuetify-loader
}
},
publicPath: './',
// 添加 chainWebpack 配置
chainWebpack: config => {
config.plugin('html').tap(args => {
args[0].title = '雪之妍 - 专业内衣品牌官方网站'
args[0].meta = {
keywords: '雪之妍,雪之妍内衣,文胸,内衣,家居服,睡衣,塑身衣',
description: '雪之妍内衣官方网站,专注于为女性提供优质内衣产品,包括文胸、内裤、家居服、睡衣等系列产品。',
author: '雪之妍',
'og:title': '雪之妍 - 专业内衣品牌官方网站',
'og:description': '雪之妍内衣官方网站,专注于为女性提供优质内衣产品。',
'og:type': 'website',
'og:url': 'https://您的域名',
'og:image': 'https://您的域名/logo.jpg'
}
return args
})
}
})