diff --git a/lib/generators/docs/templates/docs/.gitignore b/lib/generators/docs/templates/.gitignore similarity index 100% rename from lib/generators/docs/templates/docs/.gitignore rename to lib/generators/docs/templates/.gitignore diff --git a/lib/generators/docs/templates/docs/src/.vuepress/components/Foo/Bar.vue b/lib/generators/docs/templates/docs/.vuepress/components/Foo/Bar.vue similarity index 100% rename from lib/generators/docs/templates/docs/src/.vuepress/components/Foo/Bar.vue rename to lib/generators/docs/templates/docs/.vuepress/components/Foo/Bar.vue diff --git a/lib/generators/docs/templates/docs/src/.vuepress/components/OtherComponent.vue b/lib/generators/docs/templates/docs/.vuepress/components/OtherComponent.vue similarity index 100% rename from lib/generators/docs/templates/docs/src/.vuepress/components/OtherComponent.vue rename to lib/generators/docs/templates/docs/.vuepress/components/OtherComponent.vue diff --git a/lib/generators/docs/templates/docs/src/.vuepress/components/demo-component.vue b/lib/generators/docs/templates/docs/.vuepress/components/demo-component.vue similarity index 100% rename from lib/generators/docs/templates/docs/src/.vuepress/components/demo-component.vue rename to lib/generators/docs/templates/docs/.vuepress/components/demo-component.vue diff --git a/lib/generators/docs/templates/docs/src/.vuepress/config.js b/lib/generators/docs/templates/docs/.vuepress/config.js similarity index 98% rename from lib/generators/docs/templates/docs/src/.vuepress/config.js rename to lib/generators/docs/templates/docs/.vuepress/config.js index 6fbcd98..a95f7df 100755 --- a/lib/generators/docs/templates/docs/src/.vuepress/config.js +++ b/lib/generators/docs/templates/docs/.vuepress/config.js @@ -39,7 +39,7 @@ module.exports = { }, { text: 'Config', - link: '/config/' + link: '/config' }, { text: 'VuePress', diff --git a/lib/generators/docs/templates/docs/src/.vuepress/enhanceApp.js b/lib/generators/docs/templates/docs/.vuepress/enhanceApp.js similarity index 100% rename from lib/generators/docs/templates/docs/src/.vuepress/enhanceApp.js rename to lib/generators/docs/templates/docs/.vuepress/enhanceApp.js diff --git a/lib/generators/docs/templates/docs/src/.vuepress/styles/index.styl b/lib/generators/docs/templates/docs/.vuepress/styles/index.styl similarity index 100% rename from lib/generators/docs/templates/docs/src/.vuepress/styles/index.styl rename to lib/generators/docs/templates/docs/.vuepress/styles/index.styl diff --git a/lib/generators/docs/templates/docs/src/.vuepress/styles/palette.styl b/lib/generators/docs/templates/docs/.vuepress/styles/palette.styl similarity index 100% rename from lib/generators/docs/templates/docs/src/.vuepress/styles/palette.styl rename to lib/generators/docs/templates/docs/.vuepress/styles/palette.styl diff --git a/lib/generators/docs/templates/docs/src/index.md b/lib/generators/docs/templates/docs/README.md similarity index 100% rename from lib/generators/docs/templates/docs/src/index.md rename to lib/generators/docs/templates/docs/README.md diff --git a/lib/generators/docs/templates/docs/src/config/README.md b/lib/generators/docs/templates/docs/config.md old mode 100755 new mode 100644 similarity index 100% rename from lib/generators/docs/templates/docs/src/config/README.md rename to lib/generators/docs/templates/docs/config.md diff --git a/lib/generators/docs/templates/docs/src/guide/README.md b/lib/generators/docs/templates/docs/guide/README.md similarity index 100% rename from lib/generators/docs/templates/docs/src/guide/README.md rename to lib/generators/docs/templates/docs/guide/README.md diff --git a/lib/generators/docs/templates/docs/src/guide/using-vue.md b/lib/generators/docs/templates/docs/guide/using-vue.md similarity index 100% rename from lib/generators/docs/templates/docs/src/guide/using-vue.md rename to lib/generators/docs/templates/docs/guide/using-vue.md diff --git a/lib/generators/docs/templates/docs/package.json b/lib/generators/docs/templates/package.json similarity index 82% rename from lib/generators/docs/templates/docs/package.json rename to lib/generators/docs/templates/package.json index ebfec4c..6ac31df 100755 --- a/lib/generators/docs/templates/docs/package.json +++ b/lib/generators/docs/templates/package.json @@ -9,8 +9,8 @@ }, "repository": "<%= repo %>/<%= name %>", "scripts": { - "dev": "vuepress dev src", - "build": "vuepress build src" + "dev": "vuepress dev docs", + "build": "vuepress build docs" }, "license": "MIT", "devDependencies": {