Skip to content

Commit

Permalink
fix sidebar button (vue3).
Browse files Browse the repository at this point in the history
Root element can not handle properties on vue3.
  • Loading branch information
schettino72 committed May 16, 2021
1 parent 2c96a62 commit 23420af
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
Changes
=======

0.7.2 (*2021-05-16*)
====================

- fix sidebar button (vue3)


0.7.1 (*2021-05-15*)
====================
Expand Down
4 changes: 2 additions & 2 deletions ui/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<title>Vite App</title>
</head>
<body>
<div id="app" class="theme-container" :class="pageClasses">
<div id="app"><div class="theme-container" :class="pageClasses">
<navbar @toggle-sidebar="toggleSidebar">
<router-link to='/' class="home-link">
<span class="site-name">Foo</span>
Expand Down Expand Up @@ -236,7 +236,7 @@ <h2><a class="toc-backref" href="#id16">Internal reference</a><a class="headerli
</div>
</page>

</div> <!-- end app -->
</div></div> <!-- end app -->
<script type="module" src="/src/main.js"></script>
</body>
</html>
1 change: 1 addition & 0 deletions ui/src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,5 @@ app.component('router-link', {
})


// mount with isHydrate===true
app.mount('#app', true);

0 comments on commit 23420af

Please sign in to comment.