Skip to content

Commit

Permalink
teleports → popovers
Browse files Browse the repository at this point in the history
  • Loading branch information
otomad committed Feb 18, 2024
1 parent 105d639 commit e9c268c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app.vue
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
<NuxtLayout :name="layout">
<NuxtPage />
</NuxtLayout>
<Contents id="teleports">
<Contents id="popovers">
<Toasts />
<Tooltips />
</Contents>
Expand Down
2 changes: 1 addition & 1 deletion modules/theme/nitro-plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ export default defineNitroPlugin(nitro => {
// 不要用 <script type="module">,否则会有延迟。
html.head.push(`<script src="${SCRIPT_ROUTE}"></script>`);
// 接下来在此处定义与本模块无关的其它需要直接修改 HTML 模板的部分。
html.bodyAppend.push('<div id="popovers"></div>');
// html.bodyAppend.push('<div id="popovers"></div>');
});
});

0 comments on commit e9c268c

Please sign in to comment.