diff --git a/packages/docs/docs/guide/directory-structure.md b/packages/docs/docs/guide/directory-structure.md index 2a9c819d..9c79bc1d 100644 --- a/packages/docs/docs/guide/directory-structure.md +++ b/packages/docs/docs/guide/directory-structure.md @@ -34,13 +34,13 @@ Please note the capitalization of the directory name. - `docs/.vuepress`: It is used to store global configuration, components, static resources, etc. - `docs/.vuepress/components`: The Vue components in this directory will be automatically registered as global components. - `docs/.vuepress/theme`: Used to store local theme. -- `docs/.vuepress/style`: Stores style related files. -- `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. -- `docs/.vuepress/style/palette.styl`: The palette is used to override the default color constants and to set the color constants of Stylus. +- `docs/.vuepress/styles`: Stores style related files. +- `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. +- `docs/.vuepress/styles/palette.styl`: The palette is used to override the default color constants and to set the color constants of Stylus. - `docs/.vuepress/public`: Static resource directory. -- `docs/.vuepress/template`: Store HTML template files. -- `docs/.vuepress/template/dev.html`: HTML template file for development environment. -- `docs/.vuepress/template/ssr.html`: Vue SSR based HTML template file in the built time. +- `docs/.vuepress/templates`: Store HTML template files. +- `docs/.vuepress/templates/dev.html`: HTML template file for development environment. +- `docs/.vuepress/templates/ssr.html`: Vue SSR based HTML template file in the built time. - `docs/.vuepress/config.js`: Entry file of configuration, can also be `yml` or `toml`. - `docs/.vuepress/enhanceApp.js`: App level enhancement. diff --git a/packages/docs/docs/zh/guide/directory-structure.md b/packages/docs/docs/zh/guide/directory-structure.md index 56fdaea4..1bb80d19 100644 --- a/packages/docs/docs/zh/guide/directory-structure.md +++ b/packages/docs/docs/zh/guide/directory-structure.md @@ -13,7 +13,7 @@ VuePress 遵循 **“约定优于配置”** 的原则,推荐的目录结构 │   │   ├── `styles` _(**可选的**)_ │   │   │   ├── index.styl │   │   │   └── palette.styl -│   │   ├── `emplates` _(**可选的, 谨慎配置**)_ +│   │   ├── `templates` _(**可选的, 谨慎配置**)_ │   │   │   ├── dev.html │   │   │   └── ssr.html │   │   ├── `config.js` _(**可选的**)_ @@ -34,13 +34,13 @@ VuePress 遵循 **“约定优于配置”** 的原则,推荐的目录结构 - `docs/.vuepress`: 用于存放全局的配置、组件、静态资源等。 - `docs/.vuepress/components`: 该目录中的 Vue 组件将会被自动注册为全局组件。 - `docs/.vuepress/theme`: 用于存放本地主题。 -- `docs/.vuepress/style`: 用于存放样式相关的文件。 -- `docs/.vuepress/style/index.styl`: 将会被自动应用的全局样式文件,会生成在最终的 CSS 文件结尾,具有比默认样式更高的优先级。 -- `docs/.vuepress/style/palette.styl`: 用于重写默认颜色常量,或者设置新的的 stylus 颜色常量。 +- `docs/.vuepress/styles`: 用于存放样式相关的文件。 +- `docs/.vuepress/styles/index.styl`: 将会被自动应用的全局样式文件,会生成在最终的 CSS 文件结尾,具有比默认样式更高的优先级。 +- `docs/.vuepress/styles/palette.styl`: 用于重写默认颜色常量,或者设置新的的 stylus 颜色常量。 - `docs/.vuepress/public`: 静态资源目录。 -- `docs/.vuepress/template`: 存储 HTML 模板文件。 -- `docs/.vuepress/template/dev.html`: 用于开发环境的 HTML 模板文件。 -- `docs/.vuepress/template/ssr.html`: 构建时基于 Vue SSR 的 HTML 模板文件。 +- `docs/.vuepress/templates`: 存储 HTML 模板文件。 +- `docs/.vuepress/templates/dev.html`: 用于开发环境的 HTML 模板文件。 +- `docs/.vuepress/templates/ssr.html`: 构建时基于 Vue SSR 的 HTML 模板文件。 - `docs/.vuepress/config.js`: 配置文件的入口文件,也可以是 `YML` 或 `toml`。 - `docs/.vuepress/enhanceApp.js`: 客户端应用的增强。