faet: add gitee demo
This commit is contained in:
parent
c9b2594243
commit
bb7707c72f
|
@ -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
|
||||
```
|
||||
|
|
|
@ -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>
|
|
@ -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": {
|
||||
|
|
Loading…
Reference in New Issue