Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions examples/.babelrc

This file was deleted.

4 changes: 2 additions & 2 deletions examples/layout-component/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
Download the example (or clone the repo)[https://github.com/zeit/next.js.git]:

```bash
curl https://codeload.github.com/zeit/next.js/tar.gz/master | tar -xz --strip=2 next.js-master/examples/hello-world
cd hello-world
curl https://codeload.github.com/zeit/next.js/tar.gz/master | tar -xz --strip=2 next.js-master/examples/layout-component
cd layout-component
```

Install it and run:
Expand Down
3 changes: 2 additions & 1 deletion examples/layout-component/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@
"start": "next start"
},
"dependencies": {
"next": "*"
"next": "^2.0.0-beta.16"
},
"babel": {},
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not good. This works because, we check for .babelrc existence in the app dir. Unless we add next/babel as the preset by default.

We have to fix it. When we do that, it'll break apps using this.

"author": "",
"license": "ISC"
}