From 3621dc4d3a5c53f6871f63d672c0fc2b65202549 Mon Sep 17 00:00:00 2001 From: aranajhonny Date: Wed, 11 Jan 2017 02:00:17 -0430 Subject: [PATCH 1/3] remove extra .babelrc --- examples/.babelrc | 2 -- 1 file changed, 2 deletions(-) delete mode 100644 examples/.babelrc diff --git a/examples/.babelrc b/examples/.babelrc deleted file mode 100644 index 7a73a41bfdf76..0000000000000 --- a/examples/.babelrc +++ /dev/null @@ -1,2 +0,0 @@ -{ -} \ No newline at end of file From 538d980596e90b2db668a718f5422013a0ea9128 Mon Sep 17 00:00:00 2001 From: aranajhonny Date: Wed, 11 Jan 2017 02:36:12 -0430 Subject: [PATCH 2/3] fix .babelrc in examples folder --- examples/layout-component/README.md | 4 ++-- examples/layout-component/package.json | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/examples/layout-component/README.md b/examples/layout-component/README.md index b81ac340f85cc..f5622687a4e02 100644 --- a/examples/layout-component/README.md +++ b/examples/layout-component/README.md @@ -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-componente +cd layout-componente ``` Install it and run: diff --git a/examples/layout-component/package.json b/examples/layout-component/package.json index 68eb6b41d6cb1..c9c0e5776a24b 100644 --- a/examples/layout-component/package.json +++ b/examples/layout-component/package.json @@ -7,8 +7,9 @@ "start": "next start" }, "dependencies": { - "next": "*" + "next": "^2.0.0-beta.16" }, + "babel": {}, "author": "", "license": "ISC" } From 7af9edd070fa4fa9adde9c261be54cf3a4340303 Mon Sep 17 00:00:00 2001 From: aranajhonny Date: Wed, 11 Jan 2017 02:38:01 -0430 Subject: [PATCH 3/3] fix README.md --- examples/layout-component/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/layout-component/README.md b/examples/layout-component/README.md index f5622687a4e02..882e639d27cfe 100644 --- a/examples/layout-component/README.md +++ b/examples/layout-component/README.md @@ -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/layout-componente -cd layout-componente +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: