-
My
But that gives me the following build error: If I do The HTML file it's referencing is in a different dir to all my |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
The error seems about using require. Have you tried using import at the top of the file? |
Beta Was this translation helpful? Give feedback.
-
@posva, I have exactly the same error when trying to use Vue CLI.
--->
This file is located in the "public" folder
|
Beta Was this translation helpful? Give feedback.
-
I also encountered this problem. 😞 @posva I found out that can be fixed by adding the following script to // TODO: is it worth having a loadInclude?
+ loadInclude(id) {
+ return id.endsWith('.html') === false
+ }, |
Beta Was this translation helpful? Give feedback.
I also encountered this problem. 😞
@posva I found out that can be fixed by adding the following script to
src/index.ts
, but IDKW returningundefined
from load will cause this error: 🤔