faet: add gitee demo

This commit is contained in:
meteorlxy 2019-05-23 12:43:42 +08:00
parent c9b2594243
commit bb7707c72f
3 changed files with 32 additions and 0 deletions

View File

@ -11,6 +11,8 @@ yarn run dev:github
yarn run dev:gitlab
# Bitbucket demo
yarn run dev:bitbucket
# Gitee demo
yarn run dev:gitee
# Vuepress Plugin demo
yarn run dev:vuepress
```

29
gitee/index.html Normal file
View File

@ -0,0 +1,29 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>Vssue Demo</title>
<link rel="stylesheet" href="https://unpkg.com/vssue/dist/vssue.min.css">
</head>
<body>
<div id="vssue"> </div>
<script src="https://unpkg.com/vue/dist/vue.runtime.min.js"></script>
<script src="https://unpkg.com/vssue/dist/vssue.gitee.min.js"></script>
<script>
new Vue({
el: '#vssue',
render: h => h('Vssue', {
props: {
title: 'Vssue Demo',
options: {
locale: 'en',
owner: 'meteor_lxy',
repo: 'vssue-demo',
clientId: '673bcf535ee8e7382bd77bae9ee7932aff1c2db114274eddc0dc2e68bc3ac5c4',
clientSecret: '4f582cd570b4002c98dae12cc78201c88fb4c6270a0af13ed45e42b8e83e18e8',
},
}
})
})
</script>
</body>
</html>

View File

@ -4,6 +4,7 @@
"dev:github": "anywhere -d github -h localhost 8080",
"dev:gitlab": "anywhere -d gitlab -h localhost 8080",
"dev:bitbucket": "anywhere -d bitbucket -h localhost 8080",
"dev:gitee": "anywhere -d gitee -h localhost 8080",
"dev:vuepress": "vuepress dev vuepress"
},
"devDependencies": {