File tree Expand file tree Collapse file tree 5 files changed +45
-12
lines changed Expand file tree Collapse file tree 5 files changed +45
-12
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ module.exports = {
33
33
]
34
34
} ,
35
35
{
36
- title : 'How to ' ,
36
+ title : 'Examples ' ,
37
37
collapsable : false ,
38
38
children : [
39
39
'/demos/' ,
Original file line number Diff line number Diff line change 1
- # Use in Vue
1
+ # Vue app
2
2
3
- ### Coming soon
3
+ <iframe
4
+ src="https://codesandbox.io/embed/vue-announcer-vue-project-z049t?fontsize=14&hidenavigation=1&theme=dark&view=editor"
5
+ style="width:100%; height:500px; border:0; border-radius: 4px; overflow:hidden;"
6
+ title="vue-announcer-vue-project"
7
+ allow="accelerometer; ambient-light-sensor; camera; encrypted-media; geolocation; gyroscope; hid; microphone; midi; payment; usb; vr"
8
+ sandbox="allow-forms allow-modals allow-popups allow-presentation allow-same-origin allow-scripts"
9
+ > </iframe >
10
+
11
+ <a href =" https://codesandbox.io/s/vue-announcer-vue-project-z049t " target =" _blank " rel =" noopener " >Open Sandbox example</a >
Original file line number Diff line number Diff line change 1
- # Use in Nuxt.js
1
+ # Nuxt.js
2
2
3
3
### Coming soon
Original file line number Diff line number Diff line change 1
- # Use in Vuepress
1
+ # Vuepress
2
2
3
3
### Coming soon
Original file line number Diff line number Diff line change 1
1
<template >
2
2
<div id =" app" >
3
3
<!-- data-va is used for internal testing, it is not required -->
4
- <vue-announcer data-va =" announcer" />
4
+ <vue-announcer data-va =" announcer" />
5
5
<header >
6
- <router-link to =" /" title =" Vue.js logo" aria-label =" Go to home page" >
7
- <img src =" ./assets/logo.png" alt =" Vue.js logo" >
6
+ <router-link
7
+ to =" /"
8
+ title =" Vue.js logo"
9
+ aria-label =" Go to home page"
10
+ >
11
+ <img
12
+ src =" ./assets/logo.png"
13
+ alt =" Vue.js logo"
14
+ >
8
15
</router-link >
9
16
<h1 >{{ msg }}</h1 >
10
17
<h2 >Essential Links</h2 >
11
18
<nav >
12
19
<ul >
13
20
<li >
14
- <router-link to =" /posts/1" title =" Go to post one page" aria-label =" Go to example post page" >My post</router-link >
21
+ <router-link
22
+ to =" /posts/1"
23
+ title =" Go to post one page"
24
+ aria-label =" Go to example post page"
25
+ >
26
+ My post
27
+ </router-link >
15
28
</li >
16
29
<li >
17
- <router-link to =" /about" title =" Go to about page" aria-label =" Go to about page" >About</router-link >
30
+ <router-link
31
+ to =" /about"
32
+ title =" Go to about page"
33
+ aria-label =" Go to about page"
34
+ >
35
+ About
36
+ </router-link >
18
37
</li >
19
38
<li >
20
- <router-link to =" /contact" title =" Go to contact page" aria-label =" Go to contact page" >Contact</router-link >
39
+ <router-link
40
+ to =" /contact"
41
+ title =" Go to contact page"
42
+ aria-label =" Go to contact page"
43
+ >
44
+ Contact
45
+ </router-link >
21
46
</li >
22
47
</ul >
23
48
</nav >
32
57
33
58
<script >
34
59
export default {
35
- name: ' app ' ,
60
+ name: ' App ' ,
36
61
data () {
37
62
return {
38
63
msg: ' Welcome to Your Vue.js App'
You can’t perform that action at this time.
0 commit comments