Commit 58add2e4 authored by baiyaaaaa's avatar baiyaaaaa Committed by cinwell.li

correct the capitalized

parent 6c8015bd
......@@ -80,7 +80,7 @@ export default {
</script>`
},
{
filename: path.join('../../examples/docs/zh-cn', `${componentname}.md`),
filename: path.join('../../examples/docs/zh-CN', `${componentname}.md`),
content: `## ${chineseName}`
}
];
......
......@@ -82,4 +82,4 @@ Vue.use(ElementUI)
}
```
如果不清楚 `babel-plugin-component` 是什么,请阅读 [快速上手](./examples/docs/zh-cn/quickstart.md) 一节。更多 `element-theme` 用法请参考[项目仓库](https://github.com/ElementUI/element-theme)
如果不清楚 `babel-plugin-component` 是什么,请阅读 [快速上手](./examples/docs/zh-CN/quickstart.md) 一节。更多 `element-theme` 用法请参考[项目仓库](https://github.com/ElementUI/element-theme)
......@@ -238,7 +238,7 @@ webpack.config.js
```javascript
{
plugins: [
new webpack.IgnorePlugin(/element-ui\/lib\/locale\/lang\/zh-cn/)
new webpack.IgnorePlugin(/element-ui\/lib\/locale\/lang\/zh-CN/)
]
}
```
......
......@@ -8,7 +8,7 @@ const registerRoute = (config) => {
children: []
}];
function addRoute(page) {
const component = page.path === '/changelog' ? require('./pages/changelog.vue') : require(`./docs/zh-cn${page.path}.md`);
const component = page.path === '/changelog' ? require('./pages/changelog.vue') : require(`./docs/zh-CN${page.path}.md`);
let child = {
path: page.path.slice(1),
meta: {
......@@ -74,7 +74,7 @@ route.route = route.route.concat([indexRoute, guideRoute, resourceRoute]);
route.route.push({
path: '*',
component: require('./docs/zh-cn/home.md')
component: require('./docs/zh-CN/home.md')
});
export const navs = route.navs;
......
......@@ -32,7 +32,7 @@ webpack.config.js
```javascript
{
plugins: [
new webpack.IgnorePlugin(/element-ui\/lib\/locale\/lang\/zh-cn/)
new webpack.IgnorePlugin(/element-ui\/lib\/locale\/lang\/zh-CN/)
]
}
```
......
import defaultLang from 'element-ui/src/locale/lang/zh-cn';
import defaultLang from 'element-ui/src/locale/lang/zh-CN';
import Vue from 'vue';
import deepmerge from 'deepmerge';
import Format from './format';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment