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

What about adding external .vue file along with .md file #4455

Closed
4 tasks done
yueyuzhao opened this issue Jan 1, 2025 · 1 comment
Closed
4 tasks done

What about adding external .vue file along with .md file #4455

yueyuzhao opened this issue Jan 1, 2025 · 1 comment

Comments

@yueyuzhao
Copy link

Is your feature request related to a problem? Please describe.

I'm using WebStorm to write .vue files, but there is only IntelliSense support for vue in markdown for VS Code. Adding support to external .vue file will take advantages with the existing IntelliSense for vue and instead of waiting for the IDEs adding support to vue in markdown and this is also much easier than adding support to all different IDEs.

Describe the solution you'd like

When processing markdown files, read and compile the vue file with same name in the folder if exists.

Describe alternatives you've considered

No response

Additional context

No response

Validations

@yueyuzhao
Copy link
Author

The framework will automatically transform all .vue files to client JS:

if (id.endsWith('.vue')) {
return processClientJS(code, id)
} else if (id.endsWith('.md')) {

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

No branches or pull requests

1 participant