I try to separate the js logic of the sfc file into a file, and then import it through src
But there is a problem with updating the page
This works fine with webpack
Suggested solution
Sometimes the js code logic is too long, or the js code is generated by other compilers, I don’t know how I should implement it
Hello @Lee-42. Please provide a minimal reproduction using a GitHub repository or StackBlitz. Issues marked with need reproduction will be closed if they have no activity within 3 days.
Description
I try to separate the js logic of the sfc file into a file, and then import it through src But there is a problem with updating the page This works fine with webpack
Suggested solution
Sometimes the js code logic is too long, or the js code is generated by other compilers, I don’t know how I should implement it
Alternative
No response
Additional context
No response
Validations