We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 25b9e67 commit bf5a893Copy full SHA for bf5a893
site/components/layout.vue
@@ -63,7 +63,8 @@ export default {
63
if (this.$route.path.indexOf('/docs/vue/') !== -1) {
64
this.$nextTick(() => {
65
const menus = []
66
- this.$refs.doc.querySelectorAll(['h2', 'h3']).forEach(dom => {
+ const doms = [...this.$refs.doc.querySelectorAll(['h2', 'h3'])]
67
+ doms.forEach(dom => {
68
const id = dom.id
69
if (id) {
70
const title = dom.textContent.split('#')[0].trim()
site/index.js
@@ -32,6 +32,7 @@ Vue.component('demo-container', demoContainer)
32
33
const router = new VueRouter({
34
mode: 'history',
35
+ fallback: false,
36
routes,
37
})
38
new Vue({
0 commit comments