Auto-import when template and script are in different files #12319
Unanswered
customautosys
asked this question in
Ideas / Proposals
Replies: 1 comment 3 replies
-
|
Hi, any help on this? The tree shaking is not working when referencing external files. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Dear Razvan,
I like to separate my code into scss, html and ts files like this in my Vue files:
Previously, I used importStrategy: 'all', but I notice this has been removed. Auto-import doesn't work when I do this.
Is there any way to get the auto-import working when my styles, templates and scripts are separated in this way?
Thanks a lot!
Cheers,
Wilson
Beta Was this translation helpful? Give feedback.
All reactions