Skip to content

Commit 9f176e1

Browse files
committed
docs: add new doc scaffold base on vuepress
1 parent 7029422 commit 9f176e1

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

docs/.vuepress/theme/Layout.vue

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<template>
2+
<h1>Hello World!</h1>
3+
</template>

docs/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Vue-infinite-loading

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
"scripts": {
1717
"dev": "webpack-dev-server --config scripts/webpack.config.js --hot --info=false --port 8000",
1818
"build": "NODE_ENV=production webpack --config scripts/webpack.config.js -p --progress --hide-modules",
19+
"docs:dev": "vuepress dev docs",
20+
"docs:build": "vuepress build docs",
1921
"lint": "eslint -f friendly --ext .js,.vue ./",
2022
"test": "BABEL_ENV=test karma start scripts/karma.conf.js",
2123
"precommit": "npm run lint",
@@ -75,6 +77,7 @@
7577
"vue": "^2.5.17",
7678
"vue-loader": "^15.4.1",
7779
"vue-template-compiler": "^2.5.17",
80+
"vuepress": "^0.14.3",
7881
"webpack": "^4.17.2",
7982
"webpack-cli": "^3.1.0",
8083
"webpack-dev-server": "^3.1.8"

0 commit comments

Comments
 (0)