Skip to content

Commit 20fbe4f

Browse files
committedOct 6, 2018
docs: fix typo
1 parent 4a08d2d commit 20fbe4f

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed
 

‎packages/docs/docs/guide/directory-structure.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,13 @@ Please note the capitalization of the directory name.
3434
- `docs/.vuepress`: It is used to store global configuration, components, static resources, etc.
3535
- `docs/.vuepress/components`: The Vue components in this directory will be automatically registered as global components.
3636
- `docs/.vuepress/theme`: Used to store local theme.
37-
- `docs/.vuepress/style`: Stores style related files.
38-
- `docs/.vuepress/style/index.styl`: Automatically applied global style files, generated at the ending of the CSS file, have a higher priority than the default style.
39-
- `docs/.vuepress/style/palette.styl`: The palette is used to override the default color constants and to set the color constants of Stylus.
37+
- `docs/.vuepress/styles`: Stores style related files.
38+
- `docs/.vuepress/styles/index.styl`: Automatically applied global style files, generated at the ending of the CSS file, have a higher priority than the default style.
39+
- `docs/.vuepress/styles/palette.styl`: The palette is used to override the default color constants and to set the color constants of Stylus.
4040
- `docs/.vuepress/public`: Static resource directory.
41-
- `docs/.vuepress/template`: Store HTML template files.
42-
- `docs/.vuepress/template/dev.html`: HTML template file for development environment.
43-
- `docs/.vuepress/template/ssr.html`: Vue SSR based HTML template file in the built time.
41+
- `docs/.vuepress/templates`: Store HTML template files.
42+
- `docs/.vuepress/templates/dev.html`: HTML template file for development environment.
43+
- `docs/.vuepress/templates/ssr.html`: Vue SSR based HTML template file in the built time.
4444
- `docs/.vuepress/config.js`: Entry file of configuration, can also be `yml` or `toml`.
4545
- `docs/.vuepress/enhanceApp.js`: App level enhancement.
4646

‎packages/docs/docs/zh/guide/directory-structure.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ VuePress 遵循 **“约定优于配置”** 的原则,推荐的目录结构
1313
│   │   ├── `styles` _(**可选的**)_
1414
│   │   │   ├── index.styl
1515
│   │   │   └── palette.styl
16-
│   │   ├── `emplates` _(**可选的, 谨慎配置**)_
16+
│   │   ├── `templates` _(**可选的, 谨慎配置**)_
1717
│   │   │   ├── dev.html
1818
│   │   │   └── ssr.html
1919
│   │   ├── `config.js` _(**可选的**)_
@@ -34,13 +34,13 @@ VuePress 遵循 **“约定优于配置”** 的原则,推荐的目录结构
3434
- `docs/.vuepress`: 用于存放全局的配置、组件、静态资源等。
3535
- `docs/.vuepress/components`: 该目录中的 Vue 组件将会被自动注册为全局组件。
3636
- `docs/.vuepress/theme`: 用于存放本地主题。
37-
- `docs/.vuepress/style`: 用于存放样式相关的文件。
38-
- `docs/.vuepress/style/index.styl`: 将会被自动应用的全局样式文件,会生成在最终的 CSS 文件结尾,具有比默认样式更高的优先级。
39-
- `docs/.vuepress/style/palette.styl`: 用于重写默认颜色常量,或者设置新的的 stylus 颜色常量。
37+
- `docs/.vuepress/styles`: 用于存放样式相关的文件。
38+
- `docs/.vuepress/styles/index.styl`: 将会被自动应用的全局样式文件,会生成在最终的 CSS 文件结尾,具有比默认样式更高的优先级。
39+
- `docs/.vuepress/styles/palette.styl`: 用于重写默认颜色常量,或者设置新的的 stylus 颜色常量。
4040
- `docs/.vuepress/public`: 静态资源目录。
41-
- `docs/.vuepress/template`: 存储 HTML 模板文件。
42-
- `docs/.vuepress/template/dev.html`: 用于开发环境的 HTML 模板文件。
43-
- `docs/.vuepress/template/ssr.html`: 构建时基于 Vue SSR 的 HTML 模板文件。
41+
- `docs/.vuepress/templates`: 存储 HTML 模板文件。
42+
- `docs/.vuepress/templates/dev.html`: 用于开发环境的 HTML 模板文件。
43+
- `docs/.vuepress/templates/ssr.html`: 构建时基于 Vue SSR 的 HTML 模板文件。
4444
- `docs/.vuepress/config.js`: 配置文件的入口文件,也可以是 `YML``toml`
4545
- `docs/.vuepress/enhanceApp.js`: 客户端应用的增强。
4646

0 commit comments

Comments
 (0)