Topic: Files not found after deploy on netlfiy

aido14 free asked 4 years ago


I am having issues deploying MDB admin pro on Netlify.

The files are adding 'previews/templates/vue-admin-dashboard/' to the path

For example:

https://notrealdomain.netlify.com/static/js/app.aad5f10abd5e6d07fd86.js (this is found)

https://notrealdomain.netlify.com/previews/templates/vue-admin-dashboard/static/js/app.aad5f10abd5e6d07fd86.js (this is not)

When I deploy locally same thing happens.

Does anyone know why this is happening? And if so why?

Thanks


aido14 free answered 4 years ago


I figured this out, if anyone else is having same issue..

in config/index I changed:

assetsPublicPath: '/previews/templates/vue-admin-dashboard/',

assetsPublicPath: '/',


aido14 free answered 4 years ago


Sorry forgot to mention I am using Admin Pro VUE



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Resolved

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB Vue
  • MDB Version: 5.8.0
  • Device: PC
  • Browser: Firefox
  • OS: windows
  • Provided sample code: No
  • Provided link: Yes