1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00
Commit graph

315 commits

Author SHA1 Message Date
Sergio Xalambrí d0b95d9bda Add custom server micro example (#2750) 2017-08-10 08:07:00 +02:00
Sergio Xalambrí cc5289a89f Add with pkg example (#2751) 2017-08-10 08:06:14 +02:00
Matija Marohnić 029bac4fd9 Remove unnecessary lookup in example with emotion (#2731) 2017-08-09 17:26:45 +02:00
Arunoda Susiripala 4fc545245a Merge with master. 2017-08-09 12:04:14 +05:30
Sergio Xalambrí 4b0467ed42 Add Electron example (#1430)
* Add Electron usage example

* Remove the deploy part

* Only allow GET request to our HTTP server

* Only allow request from an electron app (checking the user agent)

* Add warning about the local HTTP server

* Update package.json

* Update example to use Next.js v3

* Added required package.json fields with placeholders

* Use next:// file protocol to open internal built files

* Create next.config.js

* Update set-menu.js

* Update example to merge it with electron-next-skeleton ideas
2017-08-09 07:56:23 +02:00
Sergio Xalambrí fe4e53e5db With recompose (#2712) 2017-08-07 19:37:44 +02:00
Dmytro V. Dogadailo 256f9dc765 Add missed dev dependencies for examples/using-preact (#2714) 2017-08-06 19:22:01 +02:00
Alvin 65ff72aada renames misspelt placeholder.html (#2703) 2017-08-03 08:04:03 +02:00
SangWon Kim 37362c3e98 Fix typo (#2692) 2017-08-01 07:29:52 +05:30
Boris Berman f0779e95d6 Grammar fix (#2686)
pseedo -> pseudo
2017-07-31 17:36:28 +05:30
Claus Klingberg 4f0592a584 Material-UI example: Pass through unrelated props to wrapped component (#2664) 2017-07-30 22:22:38 +02:00
James Hegedus b27526b6ff with-firebase-hosting update (#2683)
* Fix link in with-firebase-hosting example

* with-firebase-hosting example

Update npm scripts & README
2017-07-30 14:02:16 +02:00
Tran Dac Anh c87b471b22 Example to add custom reverse proxy like in webpack-dev-server (#2660)
* add with-custom-reverse-proxy example

* cleanup

* cleanup package.json

* fix linting errors

* more linting errors
2017-07-29 14:45:12 +02:00
Renan Couto 93e15a23b9 Remove stage-0 from dependencies on example (#2656)
This PR removes `babel-preset-stage-0` from the dependencies list, that was missing on #1959.
2017-07-27 13:47:49 +05:30
Tim Neutkens cf130c70f0 Prefix process.env to avoid inconsistency (#2647) 2017-07-26 20:39:21 +02:00
James Hegedus 84de7f9397 With Firebase Hosting Example (#2642)
* Rename Firebase Auth example

* Update gitignore to include npm5 lockfile

* Cloud Function

* Add Next app with two pages to demonstrate navigation

* Add Firebase Hosting and configuration to Host & Deploy

* Fix errors in rename for firebase-auth example

* Recommend pkg managers with caches for better perf

* Update with-firebase-hosting example

Fix code

* Update with-firebase-hosting example

Fix npm scripts and package.json files

* Update with-firebase-hosting example

Update README & install scripts

* Update with-firebase-hosting example

Update example package name

* Update with-firebase-hosting example

Fix to use single-quotes

* Update with-firebase-hosting example

VSCode did not like single-quotes! Sorry

* Fix gitignore file
2017-07-26 07:52:49 +02:00
Olivier Tassinari 58c2d138d0 examples(material-ui): change the wrapping strategy (#2648)
By creating an intermediary component (with the HOC)
we save some React rendering logic.
That's also addressing an issue with JssProvider (react-jss)
that generate a new index at each render.
2017-07-25 22:42:23 +02:00
Olivier Tassinari c84bf2ea32 Update material-ui example (#2630) 2017-07-24 06:39:36 +02:00
Talasan Nicholson 337471d684 Add page transitions example (#2613) 2017-07-22 10:00:15 +02:00
Micooz Lee 24a67ee967 examples/with-react-helmet: upgrade react-helmet to v5.1.3 and fix invariant violation caused by bodyAttributes (#2587) 2017-07-18 08:03:21 +02:00
Jan Mühlemann e7d91bf692 adds with react-i18next example (#2558)
* adds with react-i18next example

* lint example code

* remove unneeded .babelrc
2017-07-16 22:19:45 +02:00
Matt 6ff89b1f52 Update with-emotion to flush SSR styles on refresh (#2565)
* Update with-emotion to flush SSR styles on refresh

* with-emtotion: remove @apply, use composes

* fix env determination
2017-07-15 09:32:14 +02:00
Jun Matsushita b47395ab2f Fix non valid trailing comma (#2560) 2017-07-15 09:08:08 +05:30
Kent C. Dodds 96182bc180 add babel-macros example (#2563) 2017-07-14 23:22:25 +02:00
Brent Mealhouse 543f2854cb Add with-redux-saga example (#2551) 2017-07-13 20:55:29 +02:00
Nikolay Kolev b253479a94 Fix the build of with-material-ui-next (#2550) 2017-07-13 13:11:20 +02:00
Marie-Laure Thuret 94c484e80d docs: add algolia-react-instantsearch example (#2544)
* docs: add algolia-react-instantsearch example

* fix: style
2017-07-12 20:00:47 +02:00
Tobias Barth 24c2e9954a Add stringify advice to MobX example readme. (#2541) 2017-07-12 15:24:03 +02:00
Nguyen Hoang Phuc 530b561039 Add example for usage of redux + reselect + recompose (#2523)
* implemented example for using redux with reselect and recompose

* removed unused package

* fixed linting issue

* fixed linting issue
2017-07-11 20:17:00 +02:00
Sagi ab82f06c87 Added react and react-dom dependencies (#2518)
* Added react and react-dom dependencies

Added missing `react` and `react-dom` dependencies which are required by next.js

* Moved react & react-dom to dependencies

Moved react & react-dom to dependencies from devDependencies
2017-07-09 15:26:35 +02:00
Ashley 5a0c61a78c Update next.config.js (#2511) 2017-07-09 13:52:35 +02:00
myxvisual a0d85d8bee fix: Update react-uwp example support Next 3 (#2464)
* fix: Update react-uwp example support Next 3

* style: Update linted codes
2017-07-08 14:12:01 +02:00
Sergio Xalambrí 6535b5646b Example Rebass (#2490) 2017-07-08 14:05:46 +02:00
Arunoda Susiripala 6715da98ac Update README.md 2017-07-08 17:14:14 +05:30
Arunoda Susiripala a1b74a0849 Update README.md 2017-07-08 17:13:57 +05:30
Josh Hawkins 5bd3a5f1d1 Update emotion example to use css instead of fragment (#2497) 2017-07-07 17:25:26 +02:00
Wei Zhu df1cd7ebf3 Fix "Deploy to now" link (#2489) 2017-07-07 11:23:25 +05:30
Arunoda Susiripala c5c270c576 Merge master into v3-beta. 2017-07-06 12:24:31 +05:30
Matt Hamlin 0f3fecfe8b Update emotion examples with new API for SSR and React endpoint (#2456)
* Update emotion examples with new API for SSR and React endpoint

* Actually fixing tab replacement
2017-07-06 07:44:46 +02:00
Tim Neutkens 7f2acd592b Fix download link (#2463) 2017-07-05 10:48:33 +05:30
Watcharakrit Phantu 56f52db5a9 Fixed example with-scoped-stylesheets-and-postcss: css-modules reload update from files [name].css.json. (#2110)
* Fixed: css-modules reload files styles.css.json.

* update: disable uglify for next build.

add: require('fs') for next build.
add: disable uglify on next.config.js for next build.

* Fix linting errors
2017-07-02 00:36:36 +02:00
Jayden Seric ec2b76f83b Better data fetching error handling for Apollo examples (#2227)
* Display data fetching errors in Apollo examples.

* Prevent Apollo GraphQL errors from crashing SSR.

Also tidied a few comments in the vicinity.
2017-07-01 23:56:12 +02:00
Jayden Seric 9bbdfeca63 Component display name fixes for Apollo examples (#2211)
* Fix decorated component display name issues for Apollo examples.

* Fix linting errors and implement #2286
2017-07-01 23:51:20 +02:00
Sergio Xalambrí 2b9944bf52 Add with-static-export example (#2234) 2017-07-01 21:44:58 +02:00
Colder Xihk 75de0fa5fa update with-antd-mobile example (#2425)
support windows path

remove unused hammerjs hack

remove unused 'style/css' resolver
2017-07-01 21:36:57 +02:00
Tim Neutkens 1ecba3b84d Use right next.js version for with-dynamic-import (#2423) 2017-07-01 08:13:25 +02:00
Miguel Cast 1bddb118bc Example/add react-with-styles example (#2417)
* Example/add react-with-styles example

* fix standars next
2017-06-30 22:32:33 +02:00
Jess Telford 4a0278b5c0 Apollo + Authentication + graph.cool example (#2161)
* Apollo + Authentication + graph.cool example

* Fix linting errors
2017-06-30 22:18:11 +02:00
Colder Xihk b86bbb65a6 update with-antd-mobile example (#2403)
add support custom svg

remove expire tricks
2017-06-29 22:04:16 +02:00
Penn Su c9bc471d3a with-dotenv example (#2399) 2017-06-29 08:32:45 +02:00