Skip to content

Commit dcb164b

Browse files
committed
restructure docs
1 parent dc8b13c commit dcb164b

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

docs/SUMMARY.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
- Getting Started
22
- [Vue Component Spec](start/spec.md)
33
- [Basic Tutorial](start/tutorial.md)
4+
- Features
5+
- [ES2015 and Babel](features/es2015.md)
6+
- [Scoped CSS](features/scoped-css.md)
7+
- [PostCSS and Autoprefixer](features/postcss.md)
8+
- [Hot Reload](features/hot-reload.md)
49
- Configurations
5-
- [Inline Loaders](configurations/inline-loaders.md)
10+
- [Pre-Processors](configurations/pre-processors.md)
611
- [Asset URL Handling](configurations/asset-url.md)
7-
- [ES2015 and Babel](configurations/es2015.md)
8-
- [PostCSS and Autoprefixer](configurations/postcss.md)
912
- [Advanced Loader Configuration](configurations/advanced.md)
1013
- [Extracting CSS File](configurations/extract-css.md)
11-
- Features
12-
- [Scoped CSS](features/scoped-css.md)
13-
- [Hot Reload](features/hot-reload.md)
1414
- Workflow
1515
- [Production Build](workflow/production.md)
1616
- [Linting](workflow/linting.md)

docs/configurations/inline-loaders.md renamed to docs/configurations/pre-processors.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# Inline Loaders
1+
# Using Pre-Processors
22

3-
`vue-loader` allows you to use other Webpack loaders to process a part of a Vue component. It will automatically infer the proper loaders to use from the `lang` attribute of a language block.
3+
In Webpack, all pre-processors need to be applied with a corresponding loader. `vue-loader` allows you to use other Webpack loaders to process a part of a Vue component. It will automatically infer the proper loaders to use from the `lang` attribute of a language block.
44

55
### CSS
66

docs/configurations/es2015.md renamed to docs/features/es2015.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ The default Babel options used for scripts inside Vue components are:
3737
}
3838
```
3939

40-
If you want to use custom presets or plugins, for example enable stage-0 language features, install the preset/plugin and then add a `babel` field in your Webpack config:
40+
If you want to use custom presets or plugins, for example, to enable stage-0 language features, install the preset/plugin and then add a `babel` field in your Webpack config:
4141

4242
``` bash
4343
npm install babel-preset-stage-0 --save-dev

docs/configurations/postcss.md renamed to docs/features/postcss.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# PostCSS and Autoprefixer
22

3-
Any CSS output processed by `vue-loader` is piped through [PostCSS](https://github.com/postcss/postcss) for [scoped CSS](../features/scoped-css.md) rewriting and aut-prefixed by default using [autoprefixer](https://github.com/postcss/autoprefixer).
3+
Any CSS output processed by `vue-loader` is piped through [PostCSS](https://github.com/postcss/postcss) for scoped CSS rewriting and auto-prefixed by default using [autoprefixer](https://github.com/postcss/autoprefixer).
44

55
### Configuring Autoprefixer
66

0 commit comments

Comments
 (0)