KUN1007 / kun-galgame-nuxt3

The CUTEST Visual Novel / Galgame Forum! KUN Visual Novel project. KUN Visual Novel Forum 2nd generation!
https://www.kungal.com
GNU Affero General Public License v3.0
614 stars 45 forks source link

Unnecessary <NuxtPage> in components.kun.Layout.vue #28

Closed CloudeaSoft closed 8 months ago

CloudeaSoft commented 8 months ago

In [Layout.vue], it looks like this.

<template>
  <div class="app" :style="{ backgroundImage: `url(${imageURL})` }">
    <div class="top-bar">
      <KunTopBar />
    </div>
    <NuxtPage />
  </div>
</template>

But in [app.vue], the [Layout.vue] was used as a component with a slot tag

<template>
  <!-- ...... -->
  <KunLayout>
    <NuxtPage />
  </KunLayout>
</template>
KUN1007 commented 8 months ago

Thanks for your feedback. Your opinion is very correct, this is our mistake.

KUN1007 commented 8 months ago

Seems like your solved this problem on #29 , closed.