Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(schema): disable typescript.shim by default in favour of volar features #26052

Merged
merged 7 commits into from Mar 5, 2024

Conversation

oumarbarry
Copy link
Contributor

@oumarbarry oumarbarry commented Mar 3, 2024

Takeover Mode has been deprecated.
"TypeScript Vue Plugin" extension has been deprecated.

closes #26051

Takeover Mode has been deprecated.
"TypeScript Vue Plugin" extension has been deprecated.
Copy link

stackblitz bot commented Mar 3, 2024

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@@ -50,8 +50,7 @@ export default defineUntypedSchema({
/**
* Generate a `*.vue` shim.
*
* We recommend instead either enabling [**Take Over Mode**](https://vuejs.org/guide/typescript/overview.html#volar-takeover-mode) or adding
* TypeScript Vue Plugin (Volar)** 👉 [[Download](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin)].
* We recommend instead installing the [official Vue extension](https://marketplace.visualstudio.com/items?itemName=Vue.volar).
*/
shim: true
Copy link
Member

@danielroe danielroe Mar 3, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should update the default to false in this case.

Can we combine this with your other pr?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah for sure

Copy link

nuxt-studio bot commented Mar 4, 2024

Live Preview ready!

Name Edit Preview Latest Commit
Nuxt Docs Edit on Studio ↗︎ View Live Preview c518fc9

@danielroe danielroe changed the title docs(shim): update recommendations fix(schema): disable typescript.shim by default in favour of volar features Mar 4, 2024
@danielroe danielroe merged commit 280d30d into nuxt:main Mar 5, 2024
35 of 36 checks passed
@github-actions github-actions bot mentioned this pull request Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants