Vuejs7 demo in 8.0.35 throws a runtime error if the Demo7 folder is taken out from the regular zip extract and run separately. It tries to refer to an import in ../../Demo1... but since the folder is no longer in the original folder structure it fails.
Fails at line:
import JwtService from "../../../demo1/src/core/services/JwtService"; --> demo1 is hardcoded in Demo2 and Demo7 as far as I checked. I changed it to the respective project's JwtService to make it work.
Occurs in file
/src/router/index.ts
Hi,
Thank you for your feedback.
Yes, the path is wrong the demo2 and demo7 must work separately, it is a bug.
To fix it you need to update the path from
../../../demo1/src/core/services/JwtService
to
@/core/services/JwtService