mirror of
https://github.com/haexhub/haex-hub.git
synced 2025-12-18 23:10:51 +01:00
init commit
This commit is contained in:
13
src/plugins/flyonui.client.ts
Normal file
13
src/plugins/flyonui.client.ts
Normal file
@ -0,0 +1,13 @@
|
||||
import 'flyonui/flyonui';
|
||||
import { type IStaticMethods } from 'flyonui/flyonui';
|
||||
declare global {
|
||||
interface Window {
|
||||
HSStaticMethods: IStaticMethods;
|
||||
}
|
||||
}
|
||||
|
||||
export default defineNuxtPlugin((nuxtApp) => {
|
||||
nuxtApp.hook('page:finish', () => {
|
||||
window.HSStaticMethods.autoInit();
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user