Version 1.2
First installation with template using NUXT + NUXTUI
Once i npm run dev, i get these messages:
WARN Failed to load Tailwind config at: ./tailwind.config.ts pg_font_urls is not defined
Vue designer config panel shows everything is ok
but I can’t even load it, it says element is not mapped
Which nodejs version you are using?
Full messages from visual studio code after npm run dev here:
Nuxi 3.6.5 4:52:25 AM
Nuxt 3.6.5 with Nitro 2.6.3 4:52:25 AM 4:52:28 AM
WARN Failed to load Tailwind config at: ./tailwind.config.ts pg_font_urls is not defined nuxt:tailwindcss 4:52:29 AM
at themes\pg-tailwindcss\tokens.cjs:217:3
at evalModule (node_modules\jiti\dist\jiti.js:1:255614) 4:52:25 AM
at jiti (node_modules\jiti\dist\jiti.js:1:253542)
at tailwind.config.ts:5:18
at evalModule (node_modules\jiti\dist\jiti.js:1:255614)
at jiti (node_modules\jiti\dist\jiti.js:1:253542)
at node_modules\tailwindcss\lib\lib\load-config.js:37:30
at loadConfig (node_modules\tailwindcss\lib\lib\load-config.js:39:6)
at /C:/gatewayapp/my-nuxtui-app/node_modules/@nuxtjs/tailwindcss/dist/module.mjs:235:29
at Array.map (<anonymous>)
ℹ Using Tailwind CSS from ~/assets/css/tailwind.css nuxt:tailwindcss 4:52:43 AM
WARN Slow module @nuxtjs/tailwindcss took 14152.03ms to setup. 4:52:43 AM
WARN Slow module @nuxt/ui took 14462.38ms to setup. 4:52:43 AM
ℹ Using html-validate to validate server-rendered HTML 4:52:44 AM
ℹ Tailwind Viewer: http://localhost:3000/_tailwind/ nuxt:tailwindcss 4:52:45 AM
[4:52:45 AM] WARN Duplicated imports "defineShortcuts", the one from "C:/gatewayapp/my-nuxtui-app/node_modules/@nuxt/ui/dist/runtime/composables/defineShortcuts.d.ts" has been ignored
[4:52:45 AM] WARN Duplicated imports "useCopyToClipboard", the one from "C:/gatewayapp/my-nuxtui-app/node_modules/@nuxt/ui/dist/runtime/composables/useCopyToClipboard.d.ts" has been ignored
[4:52:45 AM] WARN Duplicated imports "useFormGroup", the one from "C:/gatewayapp/my-nuxtui-app/node_modules/@nuxt/ui/dist/runtime/composables/useFormGroup.d.ts" has been ignored
[4:52:45 AM] WARN Duplicated imports "createPopper", the one from "C:/gatewayapp/my-nuxtui-app/node_modules/@nuxt/ui/dist/runtime/composables/usePopper.d.ts" has been ignored
[4:52:45 AM] WARN Duplicated imports "usePopper", the one from "C:/gatewayapp/my-nuxtui-app/node_modules/@nuxt/ui/dist/runtime/composables/usePopper.d.ts" has been ignored
[4:52:45 AM] WARN Duplicated imports "_useShortcuts", the one from "C:/gatewayapp/my-nuxtui-app/node_modules/@nuxt/ui/dist/runtime/composables/useShortcuts.d.ts" has been ignored
[4:52:45 AM] WARN Duplicated imports "useShortcuts", the one from "C:/gatewayapp/my-nuxtui-app/node_modules/@nuxt/ui/dist/runtime/composables/useShortcuts.d.ts" has been ignored
[4:52:45 AM] WARN Duplicated imports "useTimer", the one from "C:/gatewayapp/my-nuxtui-app/node_modules/@nuxt/ui/dist/runtime/composables/useTimer.d.ts" has been ignored
[4:52:45 AM] WARN Duplicated imports "useToast", the one from "C:/gatewayapp/my-nuxtui-app/node_modules/@nuxt/ui/dist/runtime/composables/useToast.d.ts" has been ignored
[4:52:47 AM] WARN Duplicated imports "defineShortcuts", the one from "C:/gatewayapp/my-nuxtui-app/node_modules/@nuxt/ui/dist/runtime/composables/defineShortcuts.d.ts" has been ignored
[4:52:47 AM] WARN Duplicated imports "useCopyToClipboard", the one from "C:/gatewayapp/my-nuxtui-app/node_modules/@nuxt/ui/dist/runtime/composables/useCopyToClipboard.d.ts" has been ignored
[4:52:47 AM] WARN Duplicated imports "useFormGroup", the one from "C:/gatewayapp/my-nuxtui-app/node_modules/@nuxt/ui/dist/runtime/composables/useFormGroup.d.ts" has been ignored
[4:52:47 AM] WARN Duplicated imports "createPopper", the one from "C:/gatewayapp/my-nuxtui-app/node_modules/@nuxt/ui/dist/runtime/composables/usePopper.d.ts" has been ignored
[4:52:47 AM] WARN Duplicated imports "usePopper", the one from "C:/gatewayapp/my-nuxtui-app/node_modules/@nuxt/ui/dist/runtime/composables/usePopper.d.ts" has been ignored
[4:52:47 AM] WARN Duplicated imports "_useShortcuts", the one from "C:/gatewayapp/my-nuxtui-app/node_modules/@nuxt/ui/dist/runtime/composables/useShortcuts.d.ts" has been ignored
[4:52:47 AM] WARN Duplicated imports "useShortcuts", the one from "C:/gatewayapp/my-nuxtui-app/node_modules/@nuxt/ui/dist/runtime/composables/useShortcuts.d.ts" has been ignored
4:57:46 AM
ℹ hmr update /assets/css/tailwind.css 4:57:46 AM
✔ Vite server hmr 3 files in 6782.767ms 5:12:37 AM
[Vue Router warn]: uncaught error during route navigation: 5:12:38 AM
[[vite-node] [VITE_ERROR] /themes/pg-tailwindcss/tokens.mjs 5:12:38 AM
at /themes/pg-tailwindcss/tokens.mjs] {
cause: {
statusMessage: 'Vite Error',
message: '[vite-node] [VITE_ERROR] /themes/pg-tailwindcss/tokens.mjs',
stack: '[vite-node] [VITE_ERROR] /themes/pg-tailwindcss/tokens.mjs\n' +
'at /themes/pg-tailwindcss/tokens.mjs'
}, 4:57:46 AM
statusCode: 500,
fatal: false,
unhandled: false,
statusMessage: 'Vite Error',
data: undefined
}
[Vue warn]: Component LayoutLoader is missing template or render function. 5:12:38 AM
[Vue Router warn]: uncaught error during route navigation: 5:12:38 AM
[[vite-node] [VITE_ERROR] /themes/pg-tailwindcss/tokens.mjs 5:12:38 AM
at /themes/pg-tailwindcss/tokens.mjs] {
cause: {
statusMessage: 'Vite Error',
message: '[vite-node] [VITE_ERROR] /themes/pg-tailwindcss/tokens.mjs',
stack: '[vite-node] [VITE_ERROR] /themes/pg-tailwindcss/tokens.mjs\n' +
'at /themes/pg-tailwindcss/tokens.mjs'
},
statusCode: 500,
fatal: false,
unhandled: false,
statusMessage: 'Vite Error',
data: undefined,
__nuxt_error: true
}
[Vue warn]: Component LayoutLoader is missing template or render function. 5:12:38 AM
[@nuxt/ui] Primary color 'pp' not found in Tailwind config 5:12:38 AM
[5:12:38 AM] HTML validation errors found for /__nuxt_error?url=/&statusCode=500&statusMessage=Vite+Error&message=%5Bvite-node%
5:13:06 AM
ℹ hmr update /pages/quick-start/[...slug].vue, /assets/css/tailwind.css, /assets/css/tailwind.css?direct 5:13:06 AM