red-packet.js 979 B

12345678910111213141516171819202122232425262728293031323334353637
  1. import { createApp } from 'vue'
  2. import App from '@/view/iframe/red-packet/index.vue'
  3. const app = createApp(App)
  4. // 引入路由对象实例
  5. import "ant-design-vue/dist/antd.css"; // or 'ant-design-vue/dist/antd.less'
  6. import "@/assets/css/reset.css";
  7. // import * as Sentry from "@sentry/vue";
  8. // import { BrowserTracing } from "@sentry/tracing";
  9. // Sentry.init({
  10. // app,
  11. // dsn: "http://529fc1c357b248eda7473c119093f5db@sentry.denet.me/5",
  12. // integrations: [
  13. // new BrowserTracing({
  14. // tracingOrigins: ["localhost", "my-site-url.com", /^\//],
  15. // }),
  16. // ],
  17. // // Set tracesSampleRate to 1.0 to capture 100%
  18. // // of transactions for performance monitoring.
  19. // // We recommend adjusting this value in production
  20. // tracesSampleRate: 1.0,
  21. // });
  22. import { message, Tooltip, Switch } from "ant-design-vue";
  23. message.config({
  24. top: `10px`,
  25. duration: 3,
  26. maxCount: 1,
  27. });
  28. app.use(Tooltip);
  29. app.use(Switch);
  30. app.use(message)
  31. app.mount('#app')