You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
is trying to serve the app via the root component as a "view". Note that components/... is a pre-build folder, so all views attempting to be served are being looked for these components in the dist folder which only contains the bundle to be served.
As such, this bundle.js is no view, but rather simply the payload needed for the browser to take control, spinning up the SPA.
Ideally, we'd want to solve this simply by not extending or rendering from the Controller, but instead simply serving the bundle via the controller on the index request.
The text was updated successfully, but these errors were encountered:
nogtini
changed the title
Semantics concerning ViewController served by Hapi
Semantics concerning ViewController and bundle.js served by Hapi
Mar 2, 2017
Trying to tackle a 500 error wherein
is trying to serve the app via the root component as a "view". Note that
components/...
is a pre-build folder, so all views attempting to be served are being looked for these components in thedist
folder which only contains the bundle to be served.As such, this
bundle.js
is no view, but rather simply the payload needed for the browser to take control, spinning up the SPA.Ideally, we'd want to solve this simply by not extending or rendering from the Controller, but instead simply serving the bundle via the controller on the index request.
The text was updated successfully, but these errors were encountered: