PC-mj/nuxt.config.ts

42 lines
1.5 KiB
TypeScript
Raw Normal View History

2023-12-18 03:12:07 +00:00
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
2024-01-02 11:03:39 +00:00
ssr: true,
devtools: { enabled: true },
2023-12-29 10:37:38 +00:00
modules: ["@element-plus/nuxt"],
2024-01-02 11:03:39 +00:00
app: {
head: {
link: [{ rel: "stylesheet", href: "//bbs.gter.net/data/cache/style_2_common.css?Z62" }],
script: [
{
src: "//bbs.gter.net/static/js/common.js",
body: true,
charset: "gb2312",
},
{
innerHTML: `
window.userInfoWin = {}
STYLEID = "2";
STATICURL = "static/";
IMGDIR = "https://bbs.gter.net/template/archy_plt8/image";
VERHASH = "Z62";
charset = "gbk";
discuz_uid = "0";
cookiepre = "4B5x_c0ae_";
cookiedomain = "gter.net";
cookiepath = "/";
showusercard = "1";
attackevasive = "0";
disallowfloat = "";
creditnotice = ",";
defaultstyle = "";
REPORTURL = "aHR0cDovL2Jicy5ndGVyLm5ldC9mb3J1bS5waHA/dGlkPTI0MDYzNTYmZ290bz1sYXN0cG9zdA==";
SITEURL = "https://ask.gter.net/";
JSPATH = "static/js/";`,
type: "text/javascript",
charset: "utf-8",
},
],
},
},
2023-12-18 03:12:07 +00:00
})