@nuxt/docs-nightly 4.2.0-29333792.e060b969 → 4.2.0-29333825.6cbfa2c8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -831,3 +831,29 @@ export default defineNuxtConfig({
|
|
|
831
831
|
},
|
|
832
832
|
})
|
|
833
833
|
```
|
|
834
|
+
|
|
835
|
+
## typescriptPlugin
|
|
836
|
+
|
|
837
|
+
Enable enhanced TypeScript developer experience with the `@dxup/nuxt` module.
|
|
838
|
+
|
|
839
|
+
This experimental plugin provides improved TypeScript integration and development tooling for better DX when working with TypeScript in Nuxt applications.
|
|
840
|
+
|
|
841
|
+
This flag is disabled by default, but you can enable this feature:
|
|
842
|
+
|
|
843
|
+
```ts twoslash [nuxt.config.ts]
|
|
844
|
+
export default defineNuxtConfig({
|
|
845
|
+
experimental: {
|
|
846
|
+
typescriptPlugin: true,
|
|
847
|
+
},
|
|
848
|
+
})
|
|
849
|
+
```
|
|
850
|
+
|
|
851
|
+
::important
|
|
852
|
+
To use this feature, you need to:
|
|
853
|
+
- Have `typescript` installed as a dependency
|
|
854
|
+
- Configure VS Code to use your workspace TypeScript version (see [VS Code documentation](https://code.visualstudio.com/docs/typescript/typescript-compiling#_using-the-workspace-version-of-typescript))
|
|
855
|
+
::
|
|
856
|
+
|
|
857
|
+
::read-more{icon="i-simple-icons-github" to="https://github.com/KazariEX/dxup" target="_blank"}
|
|
858
|
+
Learn more about **@dxup/nuxt**.
|
|
859
|
+
::
|