This commit is contained in:
parent
451a922182
commit
50ec1b1439
16
Dockerfile
16
Dockerfile
|
@ -7,17 +7,17 @@ COPY . .
|
||||||
# ARG env_file
|
# ARG env_file
|
||||||
|
|
||||||
|
|
||||||
# RUN npm config set registry https://mirrors.tuna.tsinghua.edu.cn/npm
|
RUN npm config set registry https://registry.npmmirror.com
|
||||||
# RUN npm install -g pnpm
|
RUN npm install -g pnpm
|
||||||
# RUN pnpm config set registry https://mirrors.tuna.tsinghua.edu.cn/npm
|
RUN pnpm config set registry https://registry.npmmirror.com
|
||||||
# 下载编译
|
# 下载编译
|
||||||
# RUN pnpm i
|
RUN pnpm i
|
||||||
# RUN pnpm build
|
# RUN pnpm build
|
||||||
# RUN pnpm generate
|
RUN pnpm generate
|
||||||
RUN yarn config set registry https://registry.npmmirror.com
|
# RUN yarn config set registry https://registry.npmmirror.com
|
||||||
RUN yarn
|
# RUN yarn
|
||||||
# RUN yarn build
|
# RUN yarn build
|
||||||
RUN yarn generate
|
# RUN yarn generate
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -28,19 +28,19 @@ export default defineNuxtConfig({
|
||||||
// clientDB: true
|
// clientDB: true
|
||||||
// }
|
// }
|
||||||
// },
|
// },
|
||||||
image: {
|
// image: {
|
||||||
// provider:"static"
|
// // provider:"static"
|
||||||
},
|
// },
|
||||||
// optimizedImages: {
|
// optimizedImages: {
|
||||||
// optimizeImages: true
|
// optimizeImages: true
|
||||||
// },
|
// },
|
||||||
experimental: {
|
// experimental: {
|
||||||
// when using generate, payload js assets included in sw precache manifest
|
// // when using generate, payload js assets included in sw precache manifest
|
||||||
// but missing on offline, disabling extraction it until fixed
|
// // but missing on offline, disabling extraction it until fixed
|
||||||
payloadExtraction: false,
|
// payloadExtraction: false,
|
||||||
inlineSSRStyles: false,
|
// inlineSSRStyles: false,
|
||||||
renderJsonPayloads: true,
|
// renderJsonPayloads: true,
|
||||||
},
|
// },
|
||||||
|
|
||||||
components: [{
|
components: [{
|
||||||
path: '~/components',
|
path: '~/components',
|
||||||
|
|
10
package.json
10
package.json
|
@ -20,7 +20,7 @@
|
||||||
"sass": "^1.62.1",
|
"sass": "^1.62.1",
|
||||||
"swiper": "^9.2.4",
|
"swiper": "^9.2.4",
|
||||||
"unity-webgl": "^3.4.2",
|
"unity-webgl": "^3.4.2",
|
||||||
"vue-tsc": "^1.2.0",
|
"vue-tsc": "^2.0.7",
|
||||||
"vue-unity-webgl": "^1.2.0"
|
"vue-unity-webgl": "^1.2.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
@ -28,19 +28,17 @@
|
||||||
"@iconify-json/carbon": "^1.1.16",
|
"@iconify-json/carbon": "^1.1.16",
|
||||||
"@iconify-json/twemoji": "^1.1.11",
|
"@iconify-json/twemoji": "^1.1.11",
|
||||||
"@nuxt/content": "^2.6.0",
|
"@nuxt/content": "^2.6.0",
|
||||||
"@nuxt/devtools": "^0.4.0",
|
|
||||||
"@nuxtjs/color-mode": "^3.2.0",
|
"@nuxtjs/color-mode": "^3.2.0",
|
||||||
"@nuxtjs/i18n": "8.0.0-beta.11",
|
"@nuxtjs/i18n": "8.3.1",
|
||||||
"@nuxtjs/strapi": "^1.9.1",
|
"@nuxtjs/strapi": "^1.9.1",
|
||||||
"@pinia/nuxt": "^0.4.8",
|
"@pinia/nuxt": "^0.4.8",
|
||||||
"@unocss/eslint-config": "0.52.4",
|
"@unocss/nuxt": "0.60.3",
|
||||||
"@unocss/nuxt": "0.52.4",
|
|
||||||
"@vite-pwa/nuxt": "^0.0.7",
|
"@vite-pwa/nuxt": "^0.0.7",
|
||||||
"@vue-macros/nuxt": "^1.2.8",
|
"@vue-macros/nuxt": "^1.2.8",
|
||||||
"@vueuse/nuxt": "^9.13.0",
|
"@vueuse/nuxt": "^9.13.0",
|
||||||
"consola": "^3.0.1",
|
"consola": "^3.0.1",
|
||||||
"eslint": "^8.38.0",
|
"eslint": "^8.38.0",
|
||||||
"nuxt": "^3.4.0",
|
"nuxt": "^3.11.2",
|
||||||
"pinia": "^2.0.34",
|
"pinia": "^2.0.34",
|
||||||
"serve": "14.2.0",
|
"serve": "14.2.0",
|
||||||
"typescript": "^4.9.5",
|
"typescript": "^4.9.5",
|
||||||
|
|
Loading…
Reference in New Issue