[Vuejs]-Why cloned project created with vue-cli-3 doesn't recognise '@' as path?

0👍

Update: There was nothing wrong with ‘@’ but git screwed up my filenames.

Somehow my cloned project had movements.js with small m even though I have renamed it to capital M Movements.js before committing and pushing.

0👍

According to the documentation of the new version, @ points to the src directory in templates only.

If the URL starts with @, it’s also interpreted as a module request. This is useful because Vue CLI by default aliases @ to <projectRoot>/src. (templates only)

What you can try is to remove the ^ character from your package.json file to go back to the previous version of vue and then do npm install again. Hope that works.

Leave a comment