0
Simple guy, realized that the script is being called after the tag body. Correct would be:
<body><script src="/../rocketstore/dist/js/mais.min.js"></script></body>
0
0
Simple guy, realized that the script is being called after the tag body. Correct would be:
<body><script src="/../rocketstore/dist/js/mais.min.js"></script></body>
Browser other questions tagged javascript vue.js vue.js-2 vue-router
You are not signed in. Login or sign up in order to post.
I understood, I had already tried to pass inside the body, without success. It would be like this that you scored: <body> <script src="/.. /rocketstore/dist/js/main.min.js"></script> </body>
– Jean Carlos Da Campo
Strange, you had already put inside the body tag and it still didn’t work. Does the following the way there tbm is wrong. You are already at the root of the project, no need to call /../rocketstore. Put dist/js/main.min.js that will work.
– LeAndrade
It’s the way it’s really wrong, hehe. It’s what I was trying to do anyway. I fixed the way and it still didn’t work. I think it’s a problem with the Vue-router with the webpack. Because when I click the script path in the source code, it directs to: http://localhost:8080/dist/js/main.min.js#/ and instead of loading the script, loads the default view html.
– Jean Carlos Da Campo
I understood, if the link is already being directed, the file is already running. You have to see right there how is the routing there in the project.
– LeAndrade
Thanks for the availability friend.
– Jean Carlos Da Campo
Blza man, ask a new question by putting the scripts to get help with this problem with the router.
– LeAndrade