Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replaced all h3 with h2 #2241

Merged
merged 1 commit into from
Oct 18, 2018
Merged
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
18 changes: 9 additions & 9 deletions docs/getting-started/1-quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ sidebar_label: Quick Start

If you've previously installed gulp globally, run `npm rm --global gulp` before following these instructions. For more information, read this [Sip][sip-article].

### Check for node, npm, and npx
## Check for node, npm, and npx
```sh
node --version
```
Expand All @@ -25,33 +25,33 @@ npx --version

If they are not installed, follow the instructions [here][node-install].

### Install the gulp command line utility
## Install the gulp command line utility
```sh
npm install --global gulp-cli
```


### Create a project directory and navigate into it
## Create a project directory and navigate into it
```sh
npx mkdirp my-project
```
```sh
cd my-project
```

### Create a package.json file in your project directory
## Create a package.json file in your project directory
```sh
npm init
```

This will guide you through giving your project a name, version, description, etc.

### Install the gulp package in your devDependencies
## Install the gulp package in your devDependencies
```sh
npm install --save-dev gulp@next
```

### Verify your gulp versions
## Verify your gulp versions

```sh
gulp --version
Expand All @@ -61,7 +61,7 @@ Ensure the output matches the screenshot below or you might need to restart the

![Output: CLI version 2.0.1 & Local version 4.0.0][img-gulp-version-command]

### Create a gulpfile
## Create a gulpfile
Using your text editor, create a file named gulpfile.js in your project root with these contents:
```js
function defaultTask(cb) {
Expand All @@ -72,14 +72,14 @@ function defaultTask(cb) {
exports.default = defaultTask
```

### Test it
## Test it
Run the gulp command in your project directory:
```sh
gulp
```
To run multiple tasks, you can use `gulp <task> <othertask>`.

### Result
## Result
The default task will run and do nothing.
![Output: Starting default & Finished default][img-gulp-command]

Expand Down