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

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

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-service

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

@vue/language-server

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

vue-tsc

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

@vue/language-core

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

@vue/typescript-plugin

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

commit: 5ea829a

@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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow some component events bypass strictTemplate
1 participant