correct the capitalized

pull/896/head
baiyaaaaa 2016-11-07 16:54:20 +08:00 committed by cinwell.li
parent 6c8015bd63
commit 58add2e4ab
7 changed files with 7 additions and 7 deletions

View File

@ -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}`
}
];

View File

@ -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)。

View File

@ -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/)
]
}
```

View File

@ -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;

View File

@ -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/)
]
}
```

View File

@ -1,4 +1,4 @@
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';