rsnext/examples/with-zones/home
Borek Bernard 4292a9a21c Update with-zones example (#8459)
* Add more pages to the 'blog' zone

- New dynamic page `pages/blog/post/[id].js`
- `pages/blog.js` moved to `pages/blog/index.js`

* Update Now and Next configs to support both `now dev` and `next dev`

- Set `assetPrefix` dynamically to either `/blog` or `''`.
- Update package.json scripts for both 'home' and 'blog' apps, support `yarn dev` in both of them.

* Update example description in README

* Fix formatting issues

* Make `/static` assets work in the 'blog' app

* Add routing rule for `/blog/static` to now.json

* Shorten README

I reverted it back to the state of 233152ee17 and then updated it with info on recent changes of the `with-zones` example.

* Use `continue: true` in now.json

Applies suggestions from code review.

Co-Authored-By: Joe Haddad <timer150@gmail.com>

* Fix JSON formatting

* Add routing rule for `_next` and `static` folders

* Update README of with-zones example slightly

Applies suggestions from code review.

Co-Authored-By: Joe Haddad <timer150@gmail.com>

* Remove unnecessary "dest" from `now.json`

Co-Authored-By: Joe Haddad <timer150@gmail.com>
2019-08-27 16:24:29 -04:00
..
components Universal Webpack (#3578) 2018-01-30 16:44:44 +01:00
pages Update with-zones example to support Now v2 / serverless (#6485) 2019-03-02 01:11:37 +01:00
static Universal Webpack (#3578) 2018-01-30 16:44:44 +01:00
.gitignore Universal Webpack (#3578) 2018-01-30 16:44:44 +01:00
next.config.js Update with-zones example and Multi Zones documentation (#7513) 2019-07-01 15:21:00 -07:00
package.json Update with-zones example (#8459) 2019-08-27 16:24:29 -04:00