-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 1c58b2f
Showing
47 changed files
with
10,315 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"presets": [ | ||
"es2015", | ||
"stage-3" | ||
], | ||
"plugins": [] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
module.exports = { | ||
"env": { | ||
"browser": true, | ||
"es6": true, | ||
"jquery": true, | ||
"node": true | ||
}, | ||
"globals": { | ||
"require": true, | ||
"__dirname": true, | ||
"module": true, | ||
"weui": true | ||
}, | ||
"extends": "eslint:recommended", | ||
"parserOptions": { | ||
"ecmaVersion": 6, | ||
"sourceType": "module", | ||
"ecmaFeatures": { | ||
"jsx": true | ||
} | ||
}, | ||
"rules": { | ||
"indent": ["error", 2], | ||
"strict": "off", | ||
"no-unused-vars": "warn", | ||
"no-console": "warn", | ||
"comma-dangle": ["off", "always"], | ||
"eqeqeq": "warn", | ||
"linebreak-style": ["error", "unix"], | ||
"quotes": ["off", "double"], | ||
"semi": ["error", "always"] | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# VuePress | ||
|
||
|
||
## Prerequisites | ||
|
||
Need to install and running WordPress above version 4.1 and open REST API. | ||
|
||
|
||
## Build Setup | ||
|
||
``` bash | ||
# install dependencies | ||
npm install | ||
|
||
# serve with hot reload at localhost:8088 | ||
npm run strat | ||
|
||
# build for development | ||
npm run dev | ||
|
||
# build for production | ||
npm run build | ||
``` | ||
|
||
|
||
## What Can I Do ? | ||
1. See article on the home page [jump](#home) | ||
|
||
|
||
## Preview Me | ||
![home]() |
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<!DOCTYPE html> | ||
<html lang="zh-Hans"> | ||
|
||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | ||
<title>VueWPress</title> | ||
<link href="style.css" rel="stylesheet"></head> | ||
|
||
<body> | ||
<div id="app"></div> | ||
<script type="text/javascript" src="js/main.9804ef3cabf5dce20242.js"></script></body> | ||
|
||
</html> |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<!DOCTYPE html> | ||
<html lang="zh-Hans"> | ||
|
||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | ||
<title>VueWPress</title> | ||
</head> | ||
|
||
<body> | ||
<div id="app"></div> | ||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
{ | ||
"name": "vwpress", | ||
"version": "1.0.0", | ||
"description": "", | ||
"main": "./src/index.js", | ||
"author": "", | ||
"license": "ISC", | ||
"dependencies": {}, | ||
"devDependencies": { | ||
"autoprefixer": "^8.2.0", | ||
"axios": "^0.18.0", | ||
"babel-core": "^6.26.0", | ||
"babel-loader": "^7.1.4", | ||
"babel-preset-env": "^1.6.1", | ||
"babel-preset-stage-3": "^6.24.1", | ||
"css-loader": "^0.28.11", | ||
"eslint-plugin-html": "^4.0.2", | ||
"extract-text-webpack-plugin": "^4.0.0-beta.0", | ||
"file-loader": "^1.1.11", | ||
"html-webpack-plugin": "^3.2.0", | ||
"iview": "^2.12.0", | ||
"node-sass": "^4.8.3", | ||
"optimize-css-assets-webpack-plugin": "^4.0.0", | ||
"postcss-loader": "^2.1.3", | ||
"sass-loader": "^6.0.7", | ||
"style-loader": "^0.20.3", | ||
"url-loader": "^1.0.1", | ||
"vue": "^2.5.16", | ||
"vue-loader": "^14.2.2", | ||
"vue-router": "^3.0.1", | ||
"vue-style-loader": "^4.1.0", | ||
"vue-template-compiler": "^2.5.16", | ||
"vuex": "^3.0.1", | ||
"vux": "^2.8.1", | ||
"webpack": "^4.4.1", | ||
"webpack-cli": "^2.0.13", | ||
"webpack-dev-server": "^3.1.1" | ||
}, | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1", | ||
"dev": "webpack --mode development --config webpack.config.js --progress --watch --color", | ||
"start": "webpack-dev-server --mode development --config webpack.config.js", | ||
"build": "webpack --mode production --config webpack.config.js --progress" | ||
}, | ||
"browserslist": [ | ||
"defaults", | ||
"not ie < 9", | ||
"last 15 versions", | ||
"> 10%", | ||
"iOS 7", | ||
"last 10 iOS versions" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
module.exports = { | ||
plugins: [ | ||
require('autoprefixer') | ||
] | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<template> | ||
<div id="app"> | ||
<fixed_header></fixed_header> | ||
<router-view v-on:xxxloading = "onShowLoadingChange"></router-view> | ||
<Loading :loading="loading"></Loading> | ||
<fixed_footer></fixed_footer> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
import fixed_header from "./compoments/fixedHeader.vue"; | ||
import fixed_footer from "./compoments/fixedFooter.vue"; | ||
export default { | ||
name: "app", | ||
data() { | ||
return { | ||
loading: false | ||
}; | ||
}, | ||
components: { | ||
fixed_header, | ||
fixed_footer | ||
}, | ||
mounted: function () { | ||
this.isHome = true; | ||
}, | ||
methods: { | ||
onShowLoadingChange() { | ||
this.loading = !this.loading; | ||
} | ||
} | ||
}; | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,122 @@ | ||
@charset "UTF-8"; | ||
.dp-highlighter { font: 14px "Microsoft YaHei", "微软雅黑", "宋体", Helvetica, Arial, Lucida Grande, Tahoma, sans-serif; background: #fafafa; width: 96%; word-break: break-all; white-space: normal; overflow: auto; margin: 10px auto; padding: 5px; border-left: 3px solid #3abc9d; } | ||
.dp-highlighter ::-moz-selection { background: #328FFE; color: #fff; } | ||
.dp-highlighter ::selection { background: #328FFE; color: #fff; } | ||
.dp-highlighter ::-moz-selection { background: #328FFE; color: #fff; } | ||
.dp-highlighter ::selection { background: #328FFE; color: #fff; } | ||
.dp-highlighter ::-moz-selection { background: #328FFE; color: #fff; } | ||
.dp-highlighter ::-webkit-selection { background: #328FFE; color: #fff; } | ||
.dp-highlighter:hover { } | ||
.dp-highlighter .bar { padding: 2px; } | ||
.dp-highlighter .collapsed .bar, | ||
.dp-highlighter .nogutter .bar { padding-left: 0px } | ||
.dp-highlighter ol { margin: 0px 0px 1px 30px; padding: 2px; color: #666; list-style: decimal; } | ||
.dp-highlighter ol > li { list-style: decimal; } | ||
.dp-highlighter.nogutter ol { list-style-type: none; margin-left: 0px; } | ||
.dp-highlighter ol li, | ||
.dp-highlighter .columns div { border-left: 1px dashed #ddd; padding-left: 10px; line-height: 1.5; } | ||
.dp-highlighter .nogutter ol li, | ||
.dp-highlighter .nogutter .columns div { border: 0; } | ||
.dp-highlighter .columns { color: gray; width: 100%; } | ||
.dp-highlighter .columns div { padding-bottom: 5px; } | ||
/* .dp-highlighter ol li.alt { background: #fcfcfc; } */ | ||
.dp-highlighter ol li:hover { background: #f1f1f1; } | ||
.dp-highlighter ol li span { color: Black; } | ||
.dp-highlighter .collapsed ol { margin: 0px; } | ||
.dp-highlighter .collapsed ol li { display: none; } | ||
.dp-highlighter .printing { border: none; } | ||
.dp-highlighter .printing .tools { display: none !important; } | ||
.dp-highlighter .printing li { display: list-item !important; } | ||
.dp-highlighter .tools { padding: 3px 8px 3px 15px; border-bottom: 1px solid #2B91AF; color: silver; } | ||
.dp-highlighter .collapsed .tools { border-bottom: 0; } | ||
.dp-highlighter .tools a { font-size: 9pt; color: gray; text-decoration: none; margin-right: 10px; } | ||
.dp-highlighter .tools a:hover { color: red; text-decoration: underline; } | ||
.dp-about { background-color: #fff; margin: 0px; padding: 0px; } | ||
.dp-about table { width: 100%; height: 100%; } | ||
.dp-about td { padding: 10px; vertical-align: top; } | ||
.dp-about .copy { border-bottom: 1px solid #ACA899; height: 95%; } | ||
.dp-about .title { color: red; font-weight: bold; } | ||
.dp-about .para { margin: 0 0 4px 0; } | ||
.dp-about .footer { background-color: #ECEADB; border-top: 1px solid #fff; text-align: right; } | ||
.dp-about .close { background-color: #ECEADB; width: 60px; height: 22px; } | ||
.dp-c { } | ||
.dp-c .comment { color: green; } | ||
.dp-c .string { color: blue; } | ||
.dp-c .preprocessor { color: gray; } | ||
.dp-c .keyword { color: blue; } | ||
.dp-c .vars { color: #d00; } | ||
.dp-vb { } | ||
.dp-vb .comment { color: green; } | ||
.dp-vb .string { color: blue; } | ||
.dp-vb .preprocessor { color: gray; } | ||
.dp-vb .keyword { color: blue; } | ||
.dp-sql { } | ||
.dp-sql .comment { color: green; } | ||
.dp-sql .string { color: red; } | ||
.dp-sql .keyword { color: rgb(127, 0, 85); } | ||
.dp-sql .func { color: #ff1493; } | ||
.dp-sql .op { color: blue; } | ||
.dp-xml { } | ||
.dp-xml .cdata { color: #ff1493; } | ||
.dp-xml .comments { color: green; } | ||
.dp-xml .tag { font-weight: bold; color: blue; } | ||
.dp-xml .tag-name { color: rgb(127, 0, 85); font-weight: bold; } | ||
.dp-xml .attribute { color: red } | ||
.dp-xml .attribute-value { color: blue } | ||
.dp-delphi { } | ||
.dp-delphi .comment { color: #008200; font-style: italic; } | ||
.dp-delphi .string { color: blue; } | ||
.dp-delphi .number { color: blue; } | ||
.dp-delphi .directive { color: #008284; } | ||
.dp-delphi .keyword { font-weight: bold; color: navy; } | ||
.dp-delphi .vars { color: #000; } | ||
.dp-py { } | ||
.dp-py .comment { color: green; } | ||
.dp-py .string { color: red; } | ||
.dp-py .docstring { color: green; } | ||
.dp-py .keyword { color: blue; font-weight: bold; } | ||
.dp-py .builtins { color: #ff1493; } | ||
.dp-py .magicmethods { color: #808080; } | ||
.dp-py .exceptions { color: brown; } | ||
.dp-py .types { color: brown; font-style: italic } | ||
.dp-py .commonlibs { color: #8A2BE2; font-style: italic; } | ||
.dp-rb { } | ||
.dp-rb .comment { color: #c00; } | ||
.dp-rb .string { color: #f0c; } | ||
.dp-rb .symbol { color: #02b902; } | ||
.dp-rb .keyword { color: #069; } | ||
.dp-rb .variable { color: #6cf; } | ||
.dp-css { } | ||
.dp-css .comment { color: green; } | ||
.dp-css .string { color: red; } | ||
.dp-css .keyword { color: blue; } | ||
.dp-css .colors { color: darkred; } | ||
.dp-css .vars { color: #d00; } | ||
.dp-j { } | ||
.dp-j .comment { color: rgb(63, 127, 95); } | ||
.dp-j .string { color: rgb(42, 0, 255); } | ||
.dp-j .keyword { color: rgb(127, 0, 85); font-weight: bold; } | ||
.dp-j .annotation { color: #646464; } | ||
.dp-j .number { color: #C00000; } | ||
.dp-cpp { } | ||
.dp-cpp .comment { color: #e00; } | ||
.dp-cpp .string { color: red } | ||
.dp-cpp .preprocessor { color: #CD00CD; font-weight: bold; } | ||
.dp-cpp .keyword { color: #5697D9; font-weight: bold; } | ||
.dp-cpp .datatypes { color: #2E8B57; font-weight: bold; } | ||
.dp-perl { } | ||
.dp-perl .comment { color: green; } | ||
.dp-perl .string { color: red; } | ||
.dp-perl .keyword { color: rgb(127, 0, 85); } | ||
.dp-perl .func { color: #ff1493; } | ||
.dp-perl .declarations { color: blue; } | ||
.dp-css .vars { color: #d00; } | ||
.dp-g { } | ||
.dp-g .comment { color: rgb(63, 127, 95); } | ||
.dp-g .string { color: rgb(42, 0, 255); } | ||
.dp-g .keyword { color: rgb(127, 0, 85); font-weight: bold; } | ||
.dp-g .type { color: rgb(0, 127, 0); font-weight: bold; } | ||
.dp-g .modifier { color: rgb(100, 0, 100); font-weight: bold; } | ||
.dp-g .constant { color: rgb(255, 0, 0); font-weight: bold; } | ||
.dp-g .method { color: rgb(255, 96, 0); font-weight: bold; } | ||
.dp-g .number { color: #C00000; } |
Oops, something went wrong.