Skip to content

Commit

Permalink
add english directory
Browse files Browse the repository at this point in the history
  • Loading branch information
Leopoldthecoder committed Sep 29, 2016
1 parent 6a79165 commit 4f8e6a5
Show file tree
Hide file tree
Showing 42 changed files with 2 additions and 2 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions examples/route.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const registerRoute = (config) => {
children: []
}];
function addRoute(page) {
const component = page.path === '/changelog' ? require('./pages/changelog.vue') : require(`./docs${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: {
Expand Down Expand Up @@ -74,7 +74,7 @@ route.route = route.route.concat([indexRoute, guideRoute, resourceRoute]);

route.route.push({
path: '*',
component: require('./docs/home.md')
component: require('./docs/zh-cn/home.md')
});

export const navs = route.navs;
Expand Down

0 comments on commit 4f8e6a5

Please sign in to comment.