12345678910111213141516171819202122232425262728293031323334353637 |
- import { createApp } from 'vue'
- import App from '@/view/iframe/red-packet/index.vue'
- const app = createApp(App)
- // 引入路由对象实例
- import "ant-design-vue/dist/antd.css"; // or 'ant-design-vue/dist/antd.less'
- import "@/assets/css/reset.css";
- // import * as Sentry from "@sentry/vue";
- // import { BrowserTracing } from "@sentry/tracing";
- // Sentry.init({
- // app,
- // dsn: "http://529fc1c357b248eda7473c119093f5db@sentry.denet.me/5",
- // integrations: [
- // new BrowserTracing({
- // tracingOrigins: ["localhost", "my-site-url.com", /^\//],
- // }),
- // ],
- // // Set tracesSampleRate to 1.0 to capture 100%
- // // of transactions for performance monitoring.
- // // We recommend adjusting this value in production
- // tracesSampleRate: 1.0,
- // });
- import { message, Tooltip, Switch } from "ant-design-vue";
- message.config({
- top: `10px`,
- duration: 3,
- maxCount: 1,
- });
- app.use(Tooltip);
- app.use(Switch);
- app.use(message)
- app.mount('#app')
|