Closed Toilal closed 7 years ago
My current workaround is to add another wildcard module declaration with *.scss.
I think there are no work around other than this and practically it just works.
I need to place @Component before @ViewRender
I'm afraid I could not reproduce this, can you share the reproducible code by github repository?
I'll create a repo with my template asap, currently it's only a hello world.
I have created a vue-cli
template using this loader and TypeScript, but can't reproduce the issue finally. I must have something wrong before.
FYI, here's the template : https://github.com/Toilal/vue-ts-hmr-std-files
Here's another template which is a fork of official webpack template, replacing vue-loader with vue-template-loader.
Nice! I've added links to your templates in README :)
I have added like stated in docs this type definition:
But then, using an import with style definition fails because it doesn't ends with .html
It works properly when using
./home.html
only.My current workaround is to add another wildcard module declaration with
*.scss
.Any idea to enhance the library to avoid this workaround ? Note that a single wildcard is allowed in typescript module declaration.
I also have another issue: I need to place
@Component
before@ViewRender
. If I use ordering from the docs (reverse), it fails with this error :