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

feat(language-core): support the use of sfc root comment to configure vueCompilerOptions #4987

Merged
merged 13 commits into from
Dec 20, 2024

Conversation

KazariEX
Copy link
Collaborator

@KazariEX KazariEX commented Nov 5, 2024

resolve #4985

Now we can input the follow codes to configure vueCompilerOptions per component:

<!-- @fallthroughAttributes true -->
<!-- @experimentalDefinePropProposal "johnsonEdition" -->

<script setup lang="ts">
...
</script>

image

Copy link

pkg-pr-new bot commented Nov 5, 2024

Open in Stackblitz

vue-component-meta

npm i https://pkg.pr.new/vuejs/language-tools/vue-component-meta@4987

vue-component-type-helpers

npm i https://pkg.pr.new/vuejs/language-tools/vue-component-type-helpers@4987

@vue/language-plugin-pug

npm i https://pkg.pr.new/vuejs/language-tools/@vue/language-plugin-pug@4987

@vue/language-server

npm i https://pkg.pr.new/vuejs/language-tools/@vue/language-server@4987

@vue/language-core

npm i https://pkg.pr.new/vuejs/language-tools/@vue/language-core@4987

@vue/language-service

npm i https://pkg.pr.new/vuejs/language-tools/@vue/language-service@4987

vue-tsc

npm i https://pkg.pr.new/vuejs/language-tools/vue-tsc@4987

@vue/typescript-plugin

npm i https://pkg.pr.new/vuejs/language-tools/@vue/typescript-plugin@4987

commit: d030529

@KazariEX KazariEX force-pushed the feat/local-vue-compiler-options branch from 7e9a5c9 to 745d958 Compare November 5, 2024 12:21
@KazariEX KazariEX changed the title feat(language-core): support the use of leading JSDoc to configure vueCompilerOptions feat(language-core): support the use of sfc root comment to configure vueCompilerOptions Nov 5, 2024
@KazariEX KazariEX force-pushed the feat/local-vue-compiler-options branch from 5181bc7 to eb989b3 Compare December 20, 2024 17:40
@johnsoncodehk johnsoncodehk merged commit 5f11c44 into vuejs:master Dec 20, 2024
5 checks passed
@KazariEX KazariEX deleted the feat/local-vue-compiler-options branch December 20, 2024 20:10
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.

Allow some component events bypass strictTemplate
2 participants