Skip to content

Commit b654847

Browse files
cristianlLinusBorg
authored andcommitted
Docs: formatting/typo fixes (#1254)
1 parent b1c0f98 commit b654847

File tree

3 files changed

+10
-9
lines changed

3 files changed

+10
-9
lines changed

docs/env.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ So, the environment variables are:
4242

4343
As we can see, `test.env` inherits the `dev.env` and the `dev.env` inherits the `prod.env`.
4444

45-
### Usage
45+
### Usage
4646

47-
It is simple to use the environment variables in your code. For example:
47+
It is simple to use the environment variables in your code. For example:
4848

49-
```js
50-
Vue.config.productionTip = process.env.NODE_ENV === 'production'
49+
```js
50+
Vue.config.productionTip = process.env.NODE_ENV === 'production'
5151
```

docs/linter.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,6 @@ You can run the following command to let eslint fix any errors it finds (if it c
3131
npm run lint -- --fix
3232
```
3333

34-
*(The `--` in the middle is necessary to ensure the `--fix` option is passed to `eslint`, not to `npm`. It can be omitted whne using yarn)*
34+
*(The `--` in the middle is necessary to ensure the `--fix` option is passed to `eslint`, not to `npm`. It can be omitted when using yarn)*
35+
3536

docs/pre-processors.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Pre-Processors
22

3-
This boilerplate has pre-configured CSS extraction for most popular CSS pre-processors including LESS, SASS, Stylus, and PostCSS. To use a pre-processor, all you need to do is install the appropriate webpack loader for it. For example, to use SASS:
3+
This boilerplate has pre-configured CSS extraction for most popular CSS pre-processors including LESS, Sass, Stylus, and PostCSS. To use a pre-processor, all you need to do is install the appropriate webpack loader for it. For example, to use Sass:
44

55
``` bash
66
npm install sass-loader node-sass --save-dev
@@ -14,11 +14,11 @@ Once installed, you can use the pre-processors inside your `*.vue` components us
1414

1515
``` html
1616
<style lang="scss">
17-
/* write SASS! */
17+
/* write Sass! */
1818
</style>
1919
```
2020

21-
### A note on SASS syntax
21+
### A note on Sass syntax
2222

2323
- `lang="scss"` corresponds to the CSS-superset syntax (with curly braces and semicolons).
2424
- `lang="sass"` corresponds to the indentation-based syntax.
@@ -27,7 +27,7 @@ Once installed, you can use the pre-processors inside your `*.vue` components us
2727

2828
Styles in `*.vue` files and style files (`*.css`, `*.scss` etc) are piped through PostCSS by default, so you don't need to use a specific loader for it.
2929

30-
You can simply add PostCSS plugins you want to use to the `.postcssrc.js`file in your project's root directory:
30+
You can simply add PostCSS plugins you want to use to the `.postcssrc.js` file in your project's root directory:
3131

3232
``` js
3333
// https://github.com/michael-ciniawsky/postcss-load-config

0 commit comments

Comments
 (0)