Skip to content

Commit

Permalink
chore: generate a new build
Browse files Browse the repository at this point in the history
  • Loading branch information
mmorainville committed Oct 16, 2018
1 parent 97667bd commit 304f55f
Show file tree
Hide file tree
Showing 26 changed files with 5,151 additions and 5,289 deletions.
26 changes: 13 additions & 13 deletions demo/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ rm -rf ./docs/
cd ./demo/

npm install
npm run e2e
npm run test:e2e
npm run build

mv ./dist/ ../docs/
Expand Down
20 changes: 17 additions & 3 deletions dist/demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,27 @@
<link rel="stylesheet" href="./vue-tour.css">

<div id="app">
<demo></demo>
<div id="v-step-0">Hello World!</div>
<div id="v-step-1">This is a small demo file for Vue Tour.</div>
<button @click="$tours['myTour'].start()">Start tour</button>
<v-tour name="myTour" :steps="steps"></v-tour>
</div>

<script>
new Vue({
components: {
demo: vue-tour
data () {
return {
steps: [
{
target: '#v-step-0',
content: `Discover <strong>Vue Tour</strong>!`
},
{
target: '#v-step-1',
content: 'An awesome plugin made with Vue.js!'
}
]
}
}
}).$mount('#app')
</script>
Loading

0 comments on commit 304f55f

Please sign in to comment.