and always it needs to run the cmd to compile it in the css and js to include it
command npm run dev
and it works fine in devlopment.
The issue persist in the deployment when i am trying to run the npm run dev in deployment and run it, it just running infinite and doesn't stop , due to this issue the project is not being deployed.
2nd condition ..
when I am trying it to deploy without npm run dev cmd it works and deployed but the alpine part and some other stuffs seems not working.🥺
Thanks for any help..
@Shivamyadav On the production/server running npm run dev will not work. For that you have to generate the production builds using the npm run build command. This looks like there is something wrong with your SSL. See console error: Mixed Content: The page at 'https://blog-production-0fc7.up.railway.app/login' was loaded over HTTPS, but requested an insecure script.
@Shivamyadav Your assets are built. But you’re trying to request them using HTTPS URLs but the app thinks it’s running under HTTP, which means you’ve not configured your app to trust Railway’s proxy/load balancer.
Follow the instructions here to trust Railway’s proxy/load balancer, and your app should correctly detect it is running as HTTPS.