\n \u003C/UApp>\n\u003C/template>\n\nindex.vue\n\n\u003Cscript setup lang=\"ts\">\nconst toast = useToast();\n\nfunction showToast() {\n toast.add({\n title: \"Title\",\n });\n}\n\u003C/script>\n\n\u003Ctemplate>\n \u003CUButton\n label=\"Show toast\"\n color=\"neutral\"\n variant=\"outline\"\n @click=\"showToast\"\n />\n\u003C/template>\n\n\nAnd this is my nuxt.config.ts\n\n// https://nuxt.com/docs/api/configuration/nuxt-config\nexport default defineNuxtConfig({\n hooks: {\n \"prerender:routes\"({ routes }) {\n routes.clear();\n },\n },\n future: {\n compatibilityVersion: 4,\n },\n compatibilityDate: \"2024-11-01\",\n devtools: { enabled: true },\n modules: [\"@nuxt/ui\", \"@vueuse/nuxt\", \"@nuxt/eslint\"],\n css: [\"~/assets/css/main.css\"],\n ui: {\n fonts: false,\n //colorMode: false,\n theme: {},\n },\n ssr: false,\n router: {\n options: {\n hashMode: true,\n },\n },\n eslint: {\n config: {\n stylistic: true,\n },\n },\n});\n\nI tried working with a nuxt.config.ts by default settings but it didnt work neither.\n\n### Additional context\n\n_No response_\n\n### Logs\n\n```shell-script\n\n```",[2887,2888,2889],{"name":2868,"color":2869},{"name":2871,"color":2872},{"name":2874,"color":2875},3564,"closed","Toast not showing","2025-03-18T19:06:18Z","https://github.com/nuxt/ui/issues/3564",0.6643938,{"description":2897,"labels":2898,"number":2905,"owner":2877,"repository":2877,"state":2891,"title":2906,"updated_at":2907,"url":2908,"score":2909},"### Environment\r\n\r\n- Operating System: Linux\r\n- Node Version: v18.20.2\r\n- Nuxt Version: 3.11.2\r\n- CLI Version: 3.11.1\r\n- Nitro Version: 2.9.6\r\n- Package Manager: npm@10.5.0\r\n- Builder: -\r\n- User Config: ssr, css, devtools, modules, colorMode\r\n- Runtime Modules: @nuxt/ui@2.16.0, @pinia/nuxt@0.5.1, @vueuse/nuxt@10.9.0\r\n- Build Modules: -\r\n\r\n### Reproduction\r\n\r\nhttps://stackblitz.com/~/github.com/hichem-dahi/trello-nuxt\r\n\r\n### Describe the bug\r\n\r\nSetting `ssr: false` in nuxt config prevents remaining CSS from loading.\r\n\r\n### Additional context\r\n\r\nWorks fine for Firefox 126.0 (64-bit), doesn't work for Chrome 125.0.6422.60 (Official Build) (64-bit).\r\n\r\n\r\n\r\n\r\n### Logs\r\n\r\n_No response_",[2899,2902],{"name":2900,"color":2901},"3.x","29bc7f",{"name":2903,"color":2904},"pending triage","E99695",27387,"Disabling SSR prevents remaining CSS from loading","2024-06-13T19:22:06Z","https://github.com/nuxt/nuxt/issues/27387",0.66760767,{"description":2911,"labels":2912,"number":2918,"owner":2877,"repository":2877,"state":2891,"title":2919,"updated_at":2920,"url":2921,"score":2922},"### Environment\r\n\r\n- Operating System: Linux\r\n- Node Version: v16.20.0\r\n- Nuxt Version: 3.6.2\r\n- Nitro Version: 2.5.2\r\n- Package Manager: npm@9.4.2\r\n- Builder: vite\r\n- User Config: app, experimental\r\n- Runtime Modules: -\r\n- Build Modules: -\r\n\r\n### Reproduction\r\n\r\nhttps://github.com/Twitch0125/nuxt-server-components-base-url-reproduction\r\n\r\nI'd add a stackblitz link, but I think stackblitz's github integration might be broken at the time of creating this?\r\n\r\n### Describe the bug\r\n\r\nwhen defining `app.baseURL` in nuxt.config.ts, the server components endpoint looks like its rendering incorrectly.\r\n\r\nI get this error during SSR\r\n```\r\nUnexpected token \u003C in JSON at position 0\r\n\r\nat parseJSONFromBytes (node:internal/deps/undici/undici:6571:19)\r\nat successSteps (node:internal/deps/undici/undici:6545:27)\r\nat node:internal/deps/undici/undici:1211:60\r\nat node:internal/process/task_queues:140:7\r\nat AsyncResource.runInAsyncScope (node:async_hooks:203:9)\r\nat AsyncResource.runMicrotask (node:internal/process/task_queues:137:8)\r\n```\r\n\r\nHowever, it works correctly after hydration. If you set `showComponent` to `false` in `pages/index.vue` in the reproduction\r\nit'll render correctly.\r\n\r\n### Logs\r\n\r\nI also see this warning server-side\r\n```\r\n [Vue warn]: Component NuxtIsland is missing template or render function.\r\n```",[2913,2914,2915],{"name":2900,"color":2901},{"name":2868,"color":2869},{"name":2916,"color":2917},"🔨 p3-minor","FBCA04",22002,"Server components break during SSR if you set a baseURL","2023-07-18T15:07:37Z","https://github.com/nuxt/nuxt/issues/22002",0.6765161,{"description":2924,"labels":2925,"number":2930,"owner":2877,"repository":2877,"state":2891,"title":2931,"updated_at":2932,"url":2933,"score":2934},"### Environment\n\nNuxi 3.0.0-rc.9 00:30:28\r\nRootDir: /home/user/workspace/my-app 00:30:29\r\nNuxt project info: 00:30:29\r\n\r\n------------------------------\r\n- Operating System: `Linux`\r\n- Node Version: `v16.17.0`\r\n- Nuxt Version: `3.0.0-rc.10-27716896.3753ea0`\r\n- Nitro Version: `0.5.1`\r\n- Package Manager: `yarn@3.2.3`\r\n- Builder: `vite`\r\n- User Config: `-`\r\n- Runtime Modules: `-`\r\n- Build Modules: `-`\r\n------------------------------\r\n\r\n\r\nFor some reason the Build Modules and Runtime Modules are not shown here\n\n### Reproduction\n\nThe cause of the problem is the ssr flag. As soon as this is set to true, the error occurs.\r\n\r\n```\r\nexport default defineNuxtConfig({\r\n ssr: true,\r\n nitro: {\r\n preset: \"netlify\",\r\n prerender: {\r\n routes: [\r\n '/blog'\r\n ]\r\n }\r\n },\r\n vueuse: {\r\n ssrHandlers: true,\r\n },\r\n\r\n imports: {\r\n autoImport: true\r\n },\r\n\r\n components: {\r\n global: true,\r\n dirs: ['~/components']\r\n },\r\n\r\n build: {\r\n transpile: [\r\n '@nuxt/content',\r\n '@headlessui/vue',\r\n 'vue-svg-inline-plugin',\r\n ],\r\n },\r\n\r\n modules: [\r\n '@nuxtjs/tailwindcss',\r\n \"nuxt-directus\",\r\n '@nuxtjs/eslint-module',\r\n 'unplugin-icons/nuxt',\r\n '@nuxtjs/svg',\r\n '@vueuse/nuxt',\r\n '@nuxt/content',\r\n '@pinia/nuxt'\r\n ],\r\n\r\n}\r\n```\n\n### Describe the bug\n\nBuild failing when ssr setting is set to true\n\n### Additional context\n\n_No response_\n\n### Logs\n\n```shell\nℹ Initializing prerenderer\r\n\r\n ERROR \r\n\r\nundefined\r\n\r\n\r\n ERROR Could not load /home/user/workspace/my-app/.nuxt/dist/server/styles.mjs (imported by ../../../node_modules/nuxt/dist/core/runtime/nitro/renderer.mjs): ENOENT: no such file or directory, open '/home/user/workspace/my-app/.nuxt/dist/server/styles.mjs'\r\n\r\n\r\n\r\n\r\n```\n```\n",[2926,2927,2928],{"name":2900,"color":2901},{"name":2903,"color":2904},{"name":2929,"color":2917},"needs reproduction",14887,"ssr:true causing \".nuxt/dist/server/styles.mjs\"","2023-01-19T17:41:56Z","https://github.com/nuxt/nuxt/issues/14887",0.6800784,{"description":2936,"labels":2937,"number":2940,"owner":2877,"repository":2877,"state":2891,"title":2941,"updated_at":2942,"url":2943,"score":2944},"### Environment\n\nNuxi 3.0.0-rc.12 00:36:52\r\nRootDir: /Users/d/Repositories/nuxt-debug/nuxt-app 00:36:53\r\nNuxt project info: (copied to clipboard) 00:36:53\r\n\r\n------------------------------\r\n- Operating System: `Darwin`\r\n- Node Version: `v18.11.0`\r\n- Nuxt Version: `3.0.0-rc.12`\r\n- Nitro Version: `0.6.0`\r\n- Package Manager: `npm@8.19.2`\r\n- Builder: `vite`\r\n- User Config: `ssr`, `target`\r\n- Runtime Modules: `-`\r\n- Build Modules: `-`\r\n------------------------------\n\n### Reproduction\n\nhttps://github.com/ckald/nuxt3-rc12-ssr-bug\n\n### Describe the bug\n\nThere are only 2 pages. \r\n\r\nWhen using `npm run dev` both are rendered and both client-side navigation and URL navigation work.\r\n\r\nWhen trying to compile to static with SSR on, in this example only the main page renders for both URLs. In my website Nuxt mixes up the markup of both pages (and the result varies with the changes in templates).\r\n\r\nLooks like Nuxt cannot find the correct root node to render the page in.\n\n### Additional context\n\n_No response_\n\n### Logs\n\n_No response_",[2938,2939],{"name":2900,"color":2901},{"name":2903,"color":2904},15224,"Generation with SSR produces incorrect markup.","2023-01-19T17:46:22Z","https://github.com/nuxt/nuxt/issues/15224",0.68305683,{"description":2946,"labels":2947,"number":2950,"owner":2877,"repository":2877,"state":2891,"title":2951,"updated_at":2952,"url":2953,"score":2954},"### Environment\r\n\r\n- Operating System: `Darwin`\r\n- Node Version: `v16.18.1`\r\n- Nuxt Version: `3.4.0`\r\n- Nitro Version: `2.3.3`\r\n- Package Manager: `npm@8.19.2`\r\n- Builder: `vite`\r\n- User Config: `ssr`\r\n- Runtime Modules: `-`\r\n- Build Modules: `-`\r\n\r\n\r\n### Reproduction\r\n\r\nI created a new Nuxt application using `npx nuxi init project-ssr-false`\r\n\r\nThen ran `npm install`\r\n\r\nThe only change I made was in **nuxt.config.ts**:\r\n```ts\r\n// https://nuxt.com/docs/api/configuration/nuxt-config\r\nexport default defineNuxtConfig({\r\n ssr: false\r\n})\r\n```\r\n\r\nThen `npm run dev` \r\n\r\nHere is a repo with the configuration specified above that reproduces the issue: https://github.com/justinwride/project-ssr-false\r\n\r\n### Describe the bug\r\n\r\nThe bug is a blank white page when I expected to see my Nuxt application.\r\n\r\nAfter navigating to http://localhost:3000 I get the following console errors:\r\n\u003Cimg width=\"512\" alt=\"image\" src=\"https://user-images.githubusercontent.com/32500970/231534495-112f4e80-3c0b-4e7a-8717-b7745b73249e.png\">\r\n\r\n### Additional context\r\n\r\nThis error *does not happen* on version `3.3.3`. It is a new error with version `3.4.0`.\r\n\r\nThe line that appears to be failing is this:\r\n```js\r\nconst nuxt = createNuxtApp({ vueApp });\r\n```\r\n\r\nWhich is failing because of this line:\r\n```js\r\nconst runtimeConfig = process.server ? options.ssrContext.runtimeConfig : reactive(nuxtApp.payload.config);\r\n```\r\n\r\nIt appears that `nuxtApp.payload.config` is `undefined` \r\n\r\n### Logs\r\n\r\n```shell-script\r\nentry.js:39 value cannot be made reactive: undefined\r\ncreateReactiveObject @ vue.js?v=2e04f03c:1090\r\nreactive @ vue.js?v=2e04f03c:1076\r\ncreateNuxtApp @ nuxt.js?v=33afac7b:97\r\ninitApp @ entry.js:39\r\n(anonymous) @ entry.js:57\r\nShow 3 more frames\r\nentry.js:58 Error while mounting app: TypeError: Cannot create proxy with a non-object as target or handler\r\n at createNuxtApp (nuxt.js?v=33afac7b:98:1)\r\n at initApp (entry.js:39:18)\r\n at entry.js:57:3\r\n(anonymous) @ entry.js:58\r\nPromise.catch (async)\r\n(anonymous) @ entry.js:57\r\n```\r\n",[2948,2949],{"name":2900,"color":2901},{"name":2903,"color":2904},20240,"Nuxt Starter Project no longer works when SSR is false on 3.4.0","2023-04-12T17:52:59Z","https://github.com/nuxt/nuxt/issues/20240",0.68460613,{"description":2956,"labels":2957,"number":2964,"owner":2877,"repository":2877,"state":2891,"title":2965,"updated_at":2966,"url":2967,"score":2968},"### Environment\r\n\r\nna\r\n\r\n### Reproduction\r\n\r\nhttps://stackblitz.com/edit/github-w2bdfg?file=package.json,fake_modules%2Fbug-test%2Findex.mjs,nuxt.config.ts,fake_modules%2Fbug-test%2Fruntime%2Fplugin.check.mjs\r\n\r\n\r\nI added the vite hooks within the nuxt config but in reality, it is added by a module. It wouldn't make sense for the user to add that `isServer` if they set `ssr: false`.\r\n\r\n### Describe the bug\r\n\r\nIt seems that the plugin is somehow taken into account when building the server but at the same time it seems to be building with a target browser given the error? I don't think the plugin code should be included by the server in any case when building an SPA without ssr at all. At the end, the generation of the server code **seems to be similar to an ssr app**, heavily slowing down the generate process.\r\n\r\nThe generation of the server can also take several seconds as if it was transpiling extra code it shouldn't transpile.\r\n\r\nThis is the workaround I found\r\n\r\n- Avoid adding the aliases altogether if ssr is false\r\n\r\n### Additional context\r\n\r\nIn the docs, it's mentioned it should work this way: https://nuxt.com/docs/getting-started/deployment#client-side-only-rendering\r\n\r\n\r\n### Logs\r\n\r\n_No response_",[2958,2959,2960,2963],{"name":2900,"color":2901},{"name":2868,"color":2869},{"name":2961,"color":2962},"vite","3574D1",{"name":2916,"color":2917},12544,"`nuxt generate` tries to generate a wrong server code despite ssr: false","2023-02-06T23:25:26Z","https://github.com/nuxt/nuxt/issues/12544",0.68619114,{"labels":2970,"number":2976,"owner":2877,"repository":2877,"state":2891,"title":2977,"updated_at":2978,"url":2979,"score":2980},[2971,2972,2973],{"name":2900,"color":2901},{"name":2868,"color":2869},{"name":2974,"color":2975},"nitro","bfd4f2",12039,"SSR content not shown when using Azure Functions","2023-01-19T15:54:20Z","https://github.com/nuxt/nuxt/issues/12039",0.68818694,{"labels":2982,"number":2992,"owner":2877,"repository":2877,"state":2891,"title":2993,"updated_at":2994,"url":2995,"score":2996},[2983,2984,2985,2986,2989],{"name":2900,"color":2901},{"name":2868,"color":2869},{"name":2974,"color":2975},{"name":2987,"color":2988},"webpack","650C6F",{"name":2990,"color":2991},"❗ p4-important","D93F0B",14378,"[Webpack: SSR false] unexpected token '\u003C' issue","2023-01-19T17:40:06Z","https://github.com/nuxt/nuxt/issues/14378",0.6891523,["Reactive",2998],{},["Set"],["ShallowReactive",3001],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fonLoh25fAaIF-WV6WRQDXoRzMAGoXzF8FI7_S6UUywM":-1},"/nuxt/ui/3932"]