Johnson Chu
Johnson Chu
I can't reproduce this problem with a new project create via `pnpm create vite my-vue-app --template vue-ts`, can you provide minimal reproduction?
@Take-Me1010 @Loongphy Thanks for the information, I have no idea for now, but the problem may come from: - https://github.com/johnsoncodehk/vue-preview/blob/master/packages/core/bin/vite/config.ts - https://github.com/johnsoncodehk/vite-plugin-vue-component-preview/blob/master/index.ts
Please try v1.1.0
Re-opened as the relevant changes have been reverted as it broke [Vue and Nuxt Preview](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.vscode-vue-preview), maybe have to build .mjs + .cjs together.
Thanks for the suggestion, EmbeddedLanguageServicePlugin should have enough ability to support implement it, what you need is that `codeAction` apis https://github.com/johnsoncodehk/volar/blob/4963cd1350431e4bc3734486e56c6f6e877ce8f9/packages/vue-language-service-types/src/index.ts#L80-L83. You can get diagnosis errors from `codeAction.on(..., context)` arg...
@codymikol Since you mentioned v2.0.13, this did not release the VSCode extension. Are you using another IDE? If so, please make sure to update `@vue/typescript-plugin` to the latest version.
Since the `tagType` property of the template AST node is now used to determine whether it is a native tag, you need to modify the `isNativeTag` function of the template...
@kingychiu Which file should `#build/nuxt-time-script.mjs` be resolved to? I can't find a `nuxt-time-script.mjs` file.
I guess you can implement a plugin to https://github.com/volarjs/plugins.
It might be related to me republishing the extension through `vsce unpublish`. I just redo it, now with a 5-minute gap between each version, let's see if it resolves the...