Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
zhoupeihuang committed Apr 18, 2017
1 parent c82e2fa commit 041807a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
---
如果用其他工具配合 Babel 来做,可以见这里。不知道 Gulp 是什么?
请先查看Gulp 入门指南。
##依赖
依赖
----

**安装依赖**
Expand All @@ -23,7 +23,7 @@

npm install --save-dev babel-preset-es2015

##Gulp
Gulp
---
**Gulp 配置**
gulpfile.js 的内容,形如
Expand Down Expand Up @@ -52,15 +52,15 @@ gulpfile.js 的内容,形如
.pipe(gulp.dest("dist"));
});

##Babel 配置
Babel 配置
----
在项目跟路径创建文件 .babelrc。内容为

{
"presets": ["es2015"]
}

##转换
转换
---
命令行中执行

Expand Down

0 comments on commit 041807a

Please sign in to comment.