[Vuejs]-GET http://localhost:3000/dashboard/js/appclient.js net::ERR_ABORTED 404 (Not Found)

0👍

You’re using a route relative to the current URL which in this case might not work. I’m assuming your are exposing the ‘public’ directory using express.static. The js files should be accessible as a absolute route, /js/appclient.js.

<script type="module" src="/js/appclient.js" defer></script>

Leave a comment