feat(hints): added @nuxt/hints module and fixed lazy component suggestion
This commit is contained in:
parent
24c6cffaa8
commit
edcee7cd80
|
|
@ -65,7 +65,7 @@ const columns: TableColumn<Project>[] = [
|
|||
:links="[{ label: newProjectLabel, icon: 'i-lucide-plus', to: '/projects/new', color: 'primary' }]" />
|
||||
|
||||
<UPageBody>
|
||||
<UAlert v-if="error" color="error" variant="soft" icon="i-lucide-alert-circle" :title="error" class="mb-4" />
|
||||
<LazyUAlert v-if="error" color="error" variant="soft" icon="i-lucide-alert-circle" :title="error" class="mb-4" />
|
||||
|
||||
<UCard>
|
||||
<UTable :columns="columns" :data="projects" :loading="loading" class="flex-1">
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
// https://nuxt.com/docs/api/configuration/nuxt-config
|
||||
export default defineNuxtConfig({
|
||||
modules: ["@nuxt/eslint", "@nuxt/ui", "@nuxtjs/i18n", "@nuxt/a11y"],
|
||||
modules: ["@nuxt/eslint", "@nuxt/ui", "@nuxtjs/i18n", "@nuxt/a11y", "@nuxt/hints"],
|
||||
|
||||
devtools: {
|
||||
enabled: true,
|
||||
|
|
|
|||
Loading…
Reference in a new issue