Skip to content

Commit

Permalink
debug: added ignore, exclude, toggle off MainStage to test
Browse files Browse the repository at this point in the history
Signed-off-by: Neko Ayaka <neko@ayaka.moe>
  • Loading branch information
nekomeowww committed Dec 2, 2024
1 parent 4eb670e commit a165f0b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/pages/index.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<div>
<ClientOnly>
<MainStage />
<!-- <MainStage /> -->
</ClientOnly>
</div>
</template>
14 changes: 12 additions & 2 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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' },
Expand Down Expand Up @@ -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 },
Expand Down

0 comments on commit a165f0b

Please sign in to comment.