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

278 commits

Author SHA1 Message Date
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
Mitchell Hamilton 31db8dd932 Add with-emotion example (#2395)
* Add with-emotion example

* Fix linting errors
2017-06-29 07:44:48 +02:00
Arunoda Susiripala 655018c0e7 Merge master into v3-beta 2017-06-29 00:51:05 +05:30
Arunoda Susiripala 23c2f02f56 Make it easy and meaningful to analyze the bundle. (#2393) 2017-06-29 00:46:21 +05:30
Daniel Steigerwald c39e555353 Improve Fela example (#2330)
* Improve Fela example

- add webPreset
- cleaner code
- add key for style
- demonstrate Fela composition

* Fix standard lint
2017-06-28 19:14:18 +02:00
Thomas Preusse 3be175b466 Apollo Example: Fix duplicate head tags (#2362) 2017-06-28 19:07:21 +02:00
myxvisual 9da6524d30 Feature add react uwp example (#2375)
* feat: Add react-uwp examples

* fix: remove log from ThemeWrapper

* feat: Add README.md

* fix: Fixed right version

* fix: Use JavaScript Standard Style

* fix: Fixed wrong next version
2017-06-27 21:10:26 +02:00
Christoph Stock 5d039877a6 update dependencies (#2354) 2017-06-23 20:40:42 +02:00
Henrik b2bda416b6 Fix material-ui-next example (#2348) 2017-06-23 15:51:25 +02:00
Henrik f14297dc80 Normalize example package.json files (#2350) 2017-06-23 10:46:44 +02:00
David Nguyen 3c71e818bf Example/add high order component example (#2331)
* temporary commit

* update code

* completed example higher order component

* remove custom server
2017-06-21 19:45:06 +02:00
Robin Frischmann d8bc386282 improve server-side rendering (#2322) 2017-06-20 17:21:17 +02:00
Arunoda Susiripala 319a2144f3 Merge master into v3-beta. 2017-06-16 21:55:46 +05:30
Arunoda Susiripala 9df59c1176 Dynamic component support with multiple modules (#2235)
* Layout ground works for next/async

* Implement the Dynamic Bundle feature.

* Add some test cases.

* Update README.

* Implement props aware dynamic bundle API.

* Update tests and README.

* Add a test case for React Context support.
2017-06-16 18:49:34 +05:30
Felipe db1ee2e161 Add Intl API polyfill in with-react-intl example (#2283)
* Add Intl API polyfill in with-react-intl example

* fix linting
2017-06-16 12:30:35 +02:00
tashburn 6303d19a3a Edited README.md (#2276)
Explained how this example is different from /examples/with-material-ui
2017-06-15 21:51:19 +02:00
David Nguyen 7b62ef3ba6 Upgrade beta version of next for "with-dynamic-import" example (#2262)
* temporary commit

* fixed eslint & parse error when precommit

* upgrade new beta version for stability
2017-06-15 00:16:45 +05:30
Robin Frischmann c72435fe5c update with-fela to Fela > 5.0 (#2253)
* update fela example

* fix wrong whitespace
2017-06-13 22:50:42 +02:00
Thomas Foricher 480f3ab124 Small typo (#2243) 2017-06-13 12:27:07 +05:30
Arunoda Susiripala a36be58124 Rewrite urls with hashes correct for static export. (#2242)
* Rewrite urls with hashes correct for static export.

* Fix some lint issues inside an example app.
2017-06-13 11:44:31 +05:30
Chris Wheatley 87c4e98fa5 Add a sw-precache example (#2237)
* add sw-precache example

* remove npm run dev command
2017-06-12 19:24:57 +02:00
Vinay Puppal 7b62184c0b Add with-react-ga example (#2225)
* add with-react-ga example

* fix title in Readme
2017-06-09 23:44:26 +02:00
Adam Soffer 5d71434121 Remove warning when upvoting a post in apollo examples (#2190)
* Fix apollo warning and error when upvoting post

* Fix apollo warning and error when upvoting post in apollo-redux example as well
2017-06-08 19:26:40 +02:00
Adrian le Bas c66cafd362 Remove hardcoded address from ws example. (#2204)
With a hard coded address on the client, the app no longer works when deploying, which is annoying since there's a handy 'deploy now' button on the readme.

By removing the hard coded address socket.io will connect to the location host automatically so it works both on development and production.
2017-06-08 19:11:08 +02:00
Guillermo Rauch f4345e79c2 Merge branch 'v3-beta' of github.com:zeit/next.js into v3-beta 2017-06-01 18:31:14 -07:00
Guillermo Rauch 850a931e88 Merge branch 'master' into v3-beta 2017-06-01 18:30:57 -07:00
Ademola Adegbuyi 18bb8774c7 Fix with-glamorous example (#2117)
* Fixed all unsupported style properties
2017-05-31 07:56:50 +02:00
Olivier Tassinari 3a0fe4349c Fix escape issue (#2115)
For instance:
```css
.MuiGrid-gutter-xs-8-1393152966 > .MuiGrid-typeItem-3088349198 {
  font-family: "Roboto", "Helvetica", "Arial", sans-serif;
}
```
2017-05-30 20:51:52 +02:00
Bruno 9f994631f8 Small code fix (#2099)
Using actionType instead of plain string
2017-05-29 19:36:57 +02:00
偏右 9ce12a03c5 Upgrade deps and fix old usage (#2084)
Fix https://github.com/zeit/next.js/pull/1817#issuecomment-299738931
2017-05-27 18:02:53 +02:00
Colder Xihk 56cf8ad0a3 Add ant design mobile example (#1793)
* add antd-mobile example

* update antd-mobile@1.1.2

remove unsupported page

add menu to trick page
2017-05-27 14:22:13 +02:00
偏右 bd96b69049 Add ant design example (#1817)
* Add ant design example

* Reduce bundle size by importing modularized antd

* lock react version for warning
2017-05-27 14:21:01 +02:00
Victor Nahuel Chaves 5187fcdb80 add postcss after sass compilation to with-external-scoped-css example (#1640)
* add postcss after sass compilation

* Fix indent

* Fixed mixed tab indent with spaces
2017-05-27 14:18:50 +02:00
Thomas Lindstrøm 0d0ab77db7 Update example with-scoped-stylesheets-and-postcss (#1606)
Fixes #1191
2017-05-27 14:12:37 +02:00
Miles Rausch f0c646a366 Correct "yo" to "to" (#2078) 2017-05-27 13:14:21 +02:00
João Carmona c443635945 feat(with-redux): add redux tools to example (#1994) 2017-05-25 18:37:10 +02:00
Olivier Tassinari 15e9573ded feat: add an example with the next branch of Material-UI (#2036) 2017-05-25 18:36:21 +02:00
RasmusErik Voel Jensen 8b90e6f148 example: with react-toolbox (#2047)
* example with react-toolbox

* JavaScript standard
2017-05-25 18:32:17 +02:00