We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello @cydrickn This is a good stack, it's working perfectly on development environment. What about production mode ?
On Symfony side : APP_ENV=prod
APP_ENV=prod
composer install --no-dev
On Vite (node container) side : NODE_ENV=production
NODE_ENV=production
npm run build
npm run build:ssr
Do we need to adapt server.js to serve SSR built files ?
server.js
Best regards Thank you
The text was updated successfully, but these errors were encountered:
Hi @ksami007,
Yes you need to run the server.js to serve the ssr for production.
Sorry, something went wrong.
No branches or pull requests
Hello @cydrickn
This is a good stack, it's working perfectly on development environment. What about production mode ?
On Symfony side :
APP_ENV=prod
composer install --no-dev
On Vite (node container) side :
NODE_ENV=production
npm run build
npm run build:ssr
Do we need to adapt
server.js
to serve SSR built files ?Best regards
Thank you
The text was updated successfully, but these errors were encountered: