diff --git a/examples/main.ts b/examples/main.ts index 0e77f1bf10..4c8349bfc1 100644 --- a/examples/main.ts +++ b/examples/main.ts @@ -14,8 +14,14 @@ import './style/index.scss' VxeUI.setI18n('en-US', enUS) -createApp(App) - .use(router) - .use(VxeUI) - .use(VxeTable) - .mount('#app') +// Secure configuration example +const app = createApp(App); +app.use(router); +app.use(VxeUI); +app.use(VxeTable); + +// Ensure secure defaults for third-party libraries +// Example: Securely configure a hypothetical analytics library +// analyticsLibrary.configure({ secure: true }); + +app.mount('#app');