debug: added ignore, exclude, toggle off MainStage to test

Signed-off-by: Neko Ayaka <neko@ayaka.moe>
This commit is contained in:
Neko Ayaka
2024-12-02 21:31:39 +08:00
parent 4eb670eaef
commit a165f0ba77
2 changed files with 13 additions and 3 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
<template>
<div>
<ClientOnly>
<MainStage />
<!-- <MainStage /> -->
</ClientOnly>
</div>
</template>
+12 -2
View File
@@ -24,14 +24,14 @@ export default defineNuxtConfig({
app: {
head: {
viewport: 'width=device-width,initial-scale=1',
viewport: 'width=device-width,initial-scale=1,user-scalable=0',
link: [
{ rel: 'icon', href: '/favicon.ico', sizes: 'any' },
{ rel: 'icon', type: 'image/svg+xml', href: '/nuxt.svg' },
{ rel: 'apple-touch-icon', href: '/apple-touch-icon.png' },
],
meta: [
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1, user-scalable=0' },
{ name: 'description', content: appDescription },
{ name: 'apple-mobile-web-app-status-bar-style', content: 'black-translucent' },
{ name: 'theme-color', media: '(prefers-color-scheme: light)', content: 'white' },
@@ -69,8 +69,18 @@ export default defineNuxtConfig({
esbuild: {
options: {
target: 'esnext',
exclude: [
'node_modules/**',
'**/js/CubismSdkForWeb-5-r.1/**',
'**/live2d/models/**',
],
},
},
ignore: [
'**/js/CubismSdkForWeb-5-r.1/**',
'**/live2d/models/**',
],
noExternals: false,
routeRules: {
'/assets/**': { static: true },
'/assets/js/**': { static: true },