You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Either enable [**Take Over Mode**](https://vuejs.org/guide/typescript/overview.html#volar-takeover-mode) (recommended)
28
-
* ... or add **TypeScript Vue Plugin (Volar)** 👉 [[Download](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin)]
29
-
30
-
<sup>*</sup> If you already have Node.js installed, check with `node --version` above 16.11.
31
-
32
-
::alert{type=info}
33
-
34
-
If you have enabled **Take Over Mode** or installed the **TypeScript Vue Plugin (Volar)**, you can disable generating the shim for `*.vue` files in your `nuxt.config` file:
35
-
36
-
```js
37
-
exportdefaultdefineNuxtConfig({
38
-
typescript: {
39
-
shim:false
40
-
}
41
-
})
42
-
```
20
+
## New Project
43
21
22
+
::alert
23
+
::details
24
+
:summary[Before getting started, please make sure you have installed the recommended setup:]
25
+
* **Node.js**<sup>*</sup> (latest LTS version or above 16.11) 👉 [[Download](https://nodejs.org/en/download/)]
26
+
* **Visual Studio Code** 👉 [[Download](https://code.visualstudio.com/)]
* Either enable [**Take Over Mode**](https://vuejs.org/guide/typescript/overview.html#volar-takeover-mode) (recommended)
29
+
* ... or add **TypeScript Vue Plugin (Volar)** 👉 [[Download](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin)]
30
+
31
+
If you have enabled **Take Over Mode** or installed the **TypeScript Vue Plugin (Volar)**, you can disable generating the shim for `*.vue` files in your `nuxt.config` file:
32
+
33
+
```ts [nuxt.config.ts]
34
+
export default defineNuxtConfig({
35
+
typescript: {
36
+
shim: false
37
+
}
38
+
})
39
+
```
40
+
::
44
41
::
45
42
46
-
## New Project
47
-
48
43
Open a terminal (if you're using [Visual Studio Code](https://code.visualstudio.com/), you can open an [integrated terminal](https://code.visualstudio.com/docs/editor/integrated-terminal)) and use the following command to create a new starter project:
0 commit comments