From ffb1bae1fe92fd4b3d1b60cb4ce30f2d96c3b1c4 Mon Sep 17 00:00:00 2001 From: selemondev Date: Fri, 22 Sep 2023 09:54:28 +0300 Subject: [PATCH] docs: update Nuxt 3 installation guide --- apps/www/src/content/docs/installation/nuxt.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/apps/www/src/content/docs/installation/nuxt.md b/apps/www/src/content/docs/installation/nuxt.md index 9a760f2e..64b16b10 100644 --- a/apps/www/src/content/docs/installation/nuxt.md +++ b/apps/www/src/content/docs/installation/nuxt.md @@ -15,6 +15,7 @@ npx nuxi@latest init my-app ### Install TypeScript +If you encounter the error `ERROR: Cannot read properties of undefined (reading 'sys') (x4)`, please proceed to install TypeScript as a dependency, as advised in this [issue](https://github.com/nuxt/nuxt/issues/20936) ```bash npm install -D typescript @@ -36,7 +37,7 @@ export default defineNuxtConfig({ // this is required else Nuxt will autoImport `.ts` file extensions: ['.vue'], // prefix for your components, eg: UiButton - prefix: 'UI' + prefix: 'Ui' }, ], }) @@ -122,7 +123,7 @@ The command above will add the `Button` component to your project. Nuxt autoImpo ```vue {3} ```