Local production build test #80
Replies: 2 comments 1 reply
-
@MaheshkumarSundaram if you still have this section: https://github.com/neonexus/sails-react-bootstrap-webpack/blob/release/config/routes.js#L23 in your repo, then Sails will automatically serve up whatever bundle. So, in my example repo, I use |
Beta Was this translation helpful? Give feedback.
-
Re-opening this discussion for ease of viewing. |
Beta Was this translation helpful? Give feedback.
-
Hi @neonexus ,
This may be a noob question but it would be very much helpful for me if you could explain a bit.
For the production site, I understand that the
npm run build
would produce all the front-end bundle whilenpm run lift:prod
will lift the sails for production.But how do I see the front-end on production build?
I am not sure how the sails connect with bundled front-end and how do see the website in production?
Sorry, I know this is a basic question but this is first big web application project as I mainly work on backend services. If you could kindly clarify how this works, it would be very much appreacited.
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions