Commit Graph

14 Commits

Author SHA1 Message Date
Jonas Galvez
280983fa88 fix: remove string interpolation from App.js (#3750)
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.
2018-08-17 09:22:52 +01:00
Jonas Galvez
e6e8adb671 Minor consistency tweaks (#3726) 2018-08-15 15:23:03 +02:00
Jonas Galvez
3f1d634fb7 Consistent parens in arrow functions (#3630)
* Minor consistency enhancements

* Arrow parenthesis consistency

* Change linting rule

* Fix typo

* Update .eslintrc.js to only require parens for blocks

* Update style according to brace-only suggestion

* Remove --fix from lint

* Tweak no-loading time (failing test)

* Tweak no-loading time (failing test) (2)

* Tweak no-loading time (failing test) (3)

* Tweak no-loading time (failing test) (4)

* Tweak no-loading time (failing test) (5)
2018-08-06 02:12:44 +02:00
Pooya Parsa
8feeeb0cfe Revert "feat: add webpackPrefetch to initial async chunk options (webpack 4.6.0)"
This reverts commit 09b141efa4.
2018-05-02 14:29:55 +04:30
Pooya Parsa
aec6828892 feat: add webpackPrefetch to initial async chunk options (webpack 4.6.0) 2018-05-02 14:29:55 +04:30
Blake Kostner
2fd1b229cb update head serialize logic 2018-03-28 11:53:38 -06:00
Pooya Parsa
cc336c4c13 fix undefined layout 2018-03-20 15:46:53 +03:30
Pooya Parsa
0ce8d88f38 feat: make optimization and splitChunks configurable 2018-03-19 22:10:33 +03:30
Pooya Parsa
1dc6a9d788 fix: hash route names 2018-03-13 20:11:20 +03:30
Pooya Parsa
86d0031ae6 feat: splitPages 2018-03-13 18:06:49 +03:30
Atinux
f4577e566c fix: Handle head as a function in nuxt.config.js 2017-11-16 13:32:11 +01:00
Atinux
fb44c2eb8e fix: Fix Layouts transitions 2017-11-06 18:30:15 +01:00
Sébastien Chopin
bf72a35634 fix: Sanitize head to use titleTemplate as function 2017-10-28 23:36:14 +02:00
Sébastien Chopin
5b09b92286 Refactor to use only one context and add route.meta 2017-10-20 10:52:07 +02:00