Skip to content
This repository has been archived by the owner on Feb 17, 2023. It is now read-only.

determine preprocessLang dynamically #42

Merged
merged 1 commit into from
Feb 27, 2021

Conversation

tjk
Copy link
Contributor

@tjk tjk commented Feb 21, 2021

I have a patch that tries to add tests but getting vite consolidate require resolution errors when installing pug in the playground directory, for example. Also getting typescript compilation errors -- are you getting those too or am I set up incorrectly?

I also was thinking about vueTemplateOptions allowing a function but it is called in a place without the SFCBlock so it was not very clean (because right now I might want to set options for pug, but not html, for example).

Let me know if I'm going about this completely the wrong way too, please!

@underfin
Copy link
Owner

I have a patch that tries to add tests but getting vite consolidate require resolution errors when installing pug in the playground directory, for example. Also getting typescript compilation errors -- are you getting those too or am I set up incorrectly?

It caused by the path of vite-plugin-vue2 is root directory, the pug will work if it installed at root directory.

@underfin underfin merged commit c206f88 into underfin:master Feb 27, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants