mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 08:02:01 +00:00
280983fa88
In migrating an `1.4.2` app to edge, I came across this bug: ``` ✖ fatal Error: Could not compile template /Users/jonas/.../node_modules/nuxt-edge/lib/app/App.js: layout is not defined ``` Upon much investigation, I traced it to the string interpolation used in the `App.js` template. I replaced with regular concatenation and the error was gone. |
||
---|---|---|
.. | ||
components | ||
layouts | ||
pages | ||
views | ||
App.js | ||
client.js | ||
empty.js | ||
index.js | ||
middleware.js | ||
router.js | ||
server.js | ||
store.js | ||
utils.js |