Skip to content

Commit

Permalink
fix: try to fix #11
Browse files Browse the repository at this point in the history
  • Loading branch information
nekomeowww committed Dec 2, 2024
1 parent f012d8f commit 44f3808
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 58 deletions.
5 changes: 3 additions & 2 deletions app.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@ useHead({
</script>

<template>
<NuxtLayout>
<div />
<!-- <NuxtLayout>
<NuxtPage />
</NuxtLayout>
</NuxtLayout> -->
</template>

<style>
Expand Down
38 changes: 19 additions & 19 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ import { unzip } from './scripts/unzip'

export default defineNuxtConfig({
modules: [
'@vueuse/nuxt',
'@unocss/nuxt',
'@pinia/nuxt',
'@nuxtjs/color-mode',
'@nuxt/eslint',
// '@vueuse/nuxt',
// '@unocss/nuxt',
// '@pinia/nuxt',
// '@nuxtjs/color-mode',
// '@nuxt/eslint',
],

ssr: false,
Expand Down Expand Up @@ -43,13 +43,13 @@ export default defineNuxtConfig({
},
},

css: [
'@unocss/reset/tailwind.css',
],
// css: [
// '@unocss/reset/tailwind.css',
// ],

colorMode: {
classSuffix: '',
},
// colorMode: {
// classSuffix: '',
// },

features: {
// For UnoCSS
Expand Down Expand Up @@ -160,12 +160,12 @@ export default defineNuxtConfig({
],
},

eslint: {
config: {
standalone: false,
nuxt: {
sortConfigKeys: true,
},
},
},
// eslint: {
// config: {
// standalone: false,
// nuxt: {
// sortConfigKeys: true,
// },
// },
// },
})
27 changes: 10 additions & 17 deletions pages/audio.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,22 +24,15 @@ function handleFileUpload(e: Event) {

<template>
<div>
<Suspense>
<ClientOnly>
<div>
<div ref="containerRef" />
<input
ref="fileInputRef"
type="file"
@change="handleFileUpload"
>
</div>
</ClientOnly>
<template #fallback>
<div italic op50>
<span animate-pulse>Loading...</span>
</div>
</template>
</Suspense>
<ClientOnly>
<div>
<div ref="containerRef" />
<input
ref="fileInputRef"
type="file"
@change="handleFileUpload"
>
</div>
</ClientOnly>
</div>
</template>
13 changes: 3 additions & 10 deletions pages/index.vue
Original file line number Diff line number Diff line change
@@ -1,14 +1,7 @@
<template>
<div>
<Suspense>
<ClientOnly>
<MainStage />
</ClientOnly>
<template #fallback>
<div italic op50>
<span animate-pulse>Loading...</span>
</div>
</template>
</Suspense>
<ClientOnly>
<MainStage />
</ClientOnly>
</div>
</template>
13 changes: 3 additions & 10 deletions pages/queue.vue
Original file line number Diff line number Diff line change
Expand Up @@ -147,15 +147,8 @@ onMounted(() => {

<template>
<div>
<Suspense>
<ClientOnly>
<div />
</ClientOnly>
<template #fallback>
<div italic op50>
<span animate-pulse>Loading...</span>
</div>
</template>
</Suspense>
<ClientOnly>
<div />
</ClientOnly>
</div>
</template>

0 comments on commit 44f3808

Please sign in to comment.