\n \u003C/UCarousel>\n\u003C/template>\n```\n\nAnd I get some TypeScript errors:\n\nProperty 'page' does not exist on type 'CreateComponentPublicInstanceWithMixins(...)\nProperty 'select' does not exist on type 'CreateComponentPublicInstanceWithMixins(...)\nProperty 'next' does not exist on type 'CreateComponentPublicInstanceWithMixins(...)\n\nHow should I correctly infer the type for UCarousel?\n\nNuxt v3.15.1\nNuxtUI v2.20.0",[2018,2021],{"name":2019,"color":2020},"question","d876e3",{"name":2022,"color":2023},"stale","ededed",3053,"How to properly use UCarousel API with TypeScript","2025-02-09T02:00:51Z","https://github.com/nuxt/ui/issues/3053",0.7125564,{"description":2030,"labels":2031,"number":2032,"owner":1985,"repository":2033,"state":1987,"title":2034,"updated_at":2035,"url":2036,"score":2037},"The current example [deployment](https://nuxt.com/deploy/github-pages) script generates warnings due to the actions using deprecated versions.\r\n\r\nI also use `pnpm` locally, so an example of how to get started with `pnpm` as well as `npm` would be nice.\r\n\r\nI'm not sure what the preset does in `npx nuxt build --preset github_pages` and if that's the same as the [Nitro preset](https://nitro.unjs.io/deploy/providers/github-pages)?\r\n\r\nMy own static page could be deployed using `pnpm generate` with this `deploy.yaml` script:\r\n\r\n```yaml\r\n# https://github.com/actions/deploy-pages#usage\r\nname: Deploy to GitHub Pages\r\n\r\non:\r\n push:\r\n branches: [main]\r\n\r\n workflow_dispatch:\r\n\r\n# Grant GITHUB_TOKEN the permissions required to make a Pages deployment\r\npermissions:\r\n contents: read\r\n pages: write # to deploy to Pages\r\n id-token: write # to verify the deployment originates from an appropriate source\r\n\r\njobs:\r\n build:\r\n runs-on: ubuntu-latest\r\n steps:\r\n - name: Checkout\r\n uses: actions/checkout@v4\r\n - name: Setup PNPM\r\n uses: pnpm/action-setup@v3\r\n with:\r\n version: 9.0.x\r\n - name: Setup Node\r\n uses: actions/setup-node@v4\r\n with:\r\n node-version: \"20\"\r\n # Pick your own package manager and build script\r\n - name: Install dependencies\r\n run: pnpm install\r\n - name: Build nuxt\r\n run: pnpm generate\r\n - name: Upload artifact\r\n uses: actions/upload-pages-artifact@v3\r\n with:\r\n path: ./.output/public\r\n\r\n # Deployment job\r\n deploy:\r\n environment:\r\n name: github_pages\r\n url: ${{ steps.deployment.outputs.page_url }}\r\n needs: build\r\n runs-on: ubuntu-latest\r\n steps:\r\n - name: Deploy to GitHub Pages\r\n id: deployment\r\n uses: actions/deploy-pages@v4\r\n```\r\n\r\nI'm hesitant to update the docs with this example myself when I don't fully understand it all yet, but maybe this could be useful as a starter to someone with more knowledge then me (or future me).\r\n\r\nI took some inspiration from the [Vitepress](https://vitepress.dev/guide/deploy#github-pages) example, which is why a couple of things have been moved or reformatted slightly.\r\n\r\n---\r\n\r\nEdit: remove `- run: corepack enable` as I don't think its necessary.",[],1578,"nuxt.com","PNPM Deployment to GitHub Pages","2024-09-26T14:12:35Z","https://github.com/nuxt/nuxt.com/issues/1578",0.72048867,{"description":2039,"labels":2040,"number":2047,"owner":1985,"repository":2048,"state":2049,"title":2050,"updated_at":2051,"url":2052,"score":2053},"### Environment\n\n- Operating System: Linux\r\n- Node Version: v18.18.0\r\n- Nuxt Version: 3.9.1\r\n- CLI Version: 3.10.0\r\n- Nitro Version: 2.8.1\r\n- Package Manager: npm@9.4.2\r\n- Builder: -\r\n- User Config: devtools, runtimeConfig\r\n- Runtime Modules: -\r\n- Build Modules: -\r\n\n\n### Reproduction\n\nhttps://stackblitz.com/edit/github-cr9qis-awh721?file=composables%2Ftests%2FuseTest.test.ts\r\n\n\n### Describe the bug\n\n`Cannot mock \"#app/nuxt\" because it is already loaded` error when using `mockNuxtImport` or `mountSuspended` in tests in Nuxt environment.\r\nTry to run `npm run test`.\n\n### Additional context\n\n_No response_\n\n### Logs\n\n_No response_",[2041,2044],{"name":2042,"color":2043},"pending triage","5D08F5",{"name":2045,"color":2046},"workaround available","D474E1",693,"test-utils","closed","`Cannot mock \"#app/nuxt\" because it is already loaded` error in Nuxt environment","2024-01-22T16:46:11Z","https://github.com/nuxt/test-utils/issues/693",0.4553152,{"description":2055,"labels":2056,"number":2060,"owner":1985,"repository":2048,"state":2049,"title":2061,"updated_at":2062,"url":2063,"score":2064},"I'm switching from other methods to try and use this for running by vitest after some virtual files caused an issue with my previous solution.\r\n\r\nIt appears now that coverage is not working whether I define it in my config of vitest.config.ts or vite.config.ts\r\n```\r\nimport { defineConfig } from 'vitest/config'\r\n\r\nexport default defineConfig({\r\n test: {\r\n coverage: {\r\n provider: 'c8',\r\n include: ['src/**'],\r\n exclude: ['src/templates/**', 'src/**/*.spec.ts', 'src/**/*.test.ts', 'src/**/*.d.ts'],\r\n all: true\r\n }\r\n }\r\n})\r\n```\r\nor\r\n```\r\nimport { defineVitestConfig } from 'nuxt-vitest/config'\r\n\r\nexport default defineVitestConfig({\r\n test: {\r\n coverage: {\r\n provider: 'c8',\r\n include: ['src/**'],\r\n exclude: ['src/templates/**', 'src/**/*.spec.ts', 'src/**/*.test.ts', 'src/**/*.d.ts'],\r\n all: true\r\n }\r\n }\r\n})\r\n```\r\n\r\nThe tests run, but no coverage is generated",[2057],{"name":2058,"color":2059},"vitest-environment","b60205",575,"Is it possible this would prevent coverage from working?","2023-12-02T00:32:10Z","https://github.com/nuxt/test-utils/issues/575",0.63357216,{"description":2066,"labels":2067,"number":2072,"owner":1985,"repository":2010,"state":2049,"title":2073,"updated_at":2074,"url":2075,"score":2076},"### Environment\n\n-\n\n### Is this bug related to Nuxt or Vue?\n\nNuxt\n\n### Version\n\nv3.16.0\n\n### Reproduction\n\n- \n\n### Description\n\nUpgraded all deps to the latest and bam Nuxt 3.16.0 is added. We get errors now as Nuxt UI 3 still ships with\n\n`'@unhead/vue': 1.11.20(vue@3.5.13(typescript@5.8.2))\n`\n\nAs of Nuxt 3.16.0 ships with @unhead2:\nhttps://nuxt.com/blog/v3-16#unhead-v2\n\nActual error:\n`[@nuxt/scripts 9:42:20 PM] ERROR Nuxt Scripts requires Unhead >= 2, you are using v1.11.20. Please run nuxi upgrade --clean to upgrade...`\n\n### Additional context\n\n_No response_\n\n### Logs\n\n```shell-script\n\n```",[2068,2069],{"name":2004,"color":2005},{"name":2070,"color":2071},"v3","49DCB8",3513,"Nuxt 3.16.0 - ships with @unhead2","2025-03-10T08:49:36Z","https://github.com/nuxt/ui/issues/3513",0.69390947,{"description":2078,"labels":2079,"number":2089,"owner":1985,"repository":1985,"state":2049,"title":2090,"updated_at":2091,"url":2092,"score":2093},"### Environment\n\n- Operating System: `Linux`\r\n- Node Version: `v14.19.3`\r\n- Nuxt Version: `3.0.0-rc.9`\r\n- Nitro Version: `0.5.1`\r\n- Package Manager: `yarn@1.22.19`\r\n- Builder: `vite`\r\n- User Config: `telemetry`\r\n- Runtime Modules: `-`\r\n- Build Modules: `-`\n\n### Reproduction\n\nhttps://codesandbox.io/s/template-lang-html-dzr7f2?file=/pages/index.vue\n\n### Describe the bug\n\nSetting `lang=\"html\"` on a template tag yields the following error in `@vitejs/plugin-vue`:\r\n```\r\n ERROR Component /.../pages/index.vue uses lang html for template, however it is not installed. 19:16:56\r\n\r\n at error (node_modules/.pnpm/rollup@2.77.3/node_modules/rollup/dist/es/shared/rollup.js:1858:30)\r\n at throwPluginError (node_modules/.pnpm/rollup@2.77.3/node_modules/rollup/dist/es/shared/rollup.js:21764:12)\r\n at Object.error (node_modules/.pnpm/rollup@2.77.3/node_modules/rollup/dist/es/shared/rollup.js:22486:20)\r\n at Object.error (node_modules/.pnpm/rollup@2.77.3/node_modules/rollup/dist/es/shared/rollup.js:21941:42)\r\n at node_modules/.pnpm/@vitejs+plugin-vue@3.1.0_vite@3.0.9+vue@3.2.38/node_modules/@vitejs/plugin-vue/dist/index.mjs:161:32\r\n at Array.forEach (\u003Canonymous>)\r\n at compile (node_modules/.pnpm/@vitejs+plugin-vue@3.1.0_vite@3.0.9+vue@3.2.38/node_modules/@vitejs/plugin-vue/dist/index.mjs:160:19)\r\n at transformTemplateAsModule (node_modules/.pnpm/@vitejs+plugin-vue@3.1.0_vite@3.0.9+vue@3.2.38/node_modules/@vitejs/plugin-vue/dist/index.mjs:130:18)\r\n at Object.transform (node_modules/.pnpm/@vitejs+plugin-vue@3.1.0_vite@3.0.9+vue@3.2.38/node_modules/@vitejs/plugin-vue/dist/index.mjs:2653:18)\r\n at node_modules/.pnpm/rollup@2.77.3/node_modules/rollup/dist/es/shared/rollup.js:22695:37\r\n```\n\n### Additional context\n\nI'm not sure if that's an upstream issue. What do you think?\r\n\r\nThere was a similar issue, which was closed with a workaround: https://github.com/vuejs/rollup-plugin-vue/issues/256\n\n### Logs\n\n_No response_",[2080,2083,2086],{"name":2081,"color":2082},"3.x","29bc7f",{"name":2084,"color":2085},"upstream","E8A36D",{"name":2087,"color":2088},"upstream-bug","B60205",14815,"fix: template uses lang html for template, however it is not installed","2023-08-17T14:13:05Z","https://github.com/nuxt/nuxt/issues/14815",0.69817984,{"description":2095,"labels":2096,"number":2099,"owner":1985,"repository":2010,"state":2049,"title":2100,"updated_at":2101,"url":2102,"score":2103},"### Environment\n\n\n\nI get this error anytime I try and use \u003CUInput /> even without any other code.\n\n### Version\n\nv3.0.0-alpha.5\n\n### Reproduction\n\n`\u003Ctemplate>\n \u003CUContainer>\n \u003CUForm :schema=\"schema\" :state=\"state\" class=\"space-y-4\" @submit=\"onSubmit\">\n \u003CUFormField label=\"Code\" name=\"Code\"\n >\u003CUInput v-model=\"state.code\" />\n \u003C/UFormField>\n \u003C/UForm>\n \u003C/UContainer>\n\u003C/template>\n\n\u003Cscript setup lang=\"ts\">\nimport { z } from 'zod';\nimport type { FormSubmitEvent } from '#ui/types';\n\nconst supabase = useSupabaseClient();\nconst toast = useToast();\n\n//Form\nconst schema = z.object({\n code: z.string().min(3),\n});\n\ntype Schema = z.output\u003Ctypeof schema>;\n\nconst state = reactive\u003CPartial\u003CSchema>>({\n code: undefined,\n});\n\nasync function onSubmit(event: FormSubmitEvent\u003CSchema>) {\n toast.add({\n title: 'Success',\n description: 'The form has been submitted.',\n color: 'success',\n });\n console.log(event.data);\n}\n\u003C/script>\n`\n\n### Description\n\nUInput causes an error\n\n### Additional context\n\n_No response_\n\n### Logs\n\n_No response_",[2097,2098],{"name":2004,"color":2005},{"name":2070,"color":2071},2349,"UInput causes error","2024-10-10T14:15:25Z","https://github.com/nuxt/ui/issues/2349",0.7055255,["Reactive",2105],{},["Set"],["ShallowReactive",2108],{"TRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"KaCGffVx2OUT_JlR72NJWlfgSgo_AJuhKe4LlwXIFao":-1},"/nuxt/nuxt.com/693"]