erdkse / adminlte-3-vue

Vue 3.4.27 start-up project with AdminLTE 3.2.0 template
https://erdkse.com/projects/preview/adminlte-vue
MIT License
248 stars 115 forks source link

after build index.html blank page #52

Closed simong782112 closed 9 months ago

simong782112 commented 9 months ago

Hi,

Your project AdminLTE3 with vue is very nice, i like it.

I have a problem that I can't solve, I'm asking for your help.

After npm run build command, I tried call 'index.html' from 'dist' folder, but i got blank screen. Response is the next message: "We're sorry but this website doesn't work properly without JavaScript enabled. Please enable it to continue." (www.mysystem.hu/vrestaurant)

In the browser the JavaScript is enabled, application has no errors, it runs on my local webserver over bitnami port.

What could be the problem, can you help me?

Thank you very much!

Simon Gábor

erdkse commented 9 months ago

Hey Simon, this question is not actually related with the repository itself. But as I see you are trying to serve your application under a sub path. You need to configure your server to handle requests under your desired path. This is the only thing that I can say about your problem. You may consider using some reverse proxy tools like nginx.