ui/src/main.ts

23 lines
535 B
TypeScript
Raw Normal View History

2022-04-09 03:44:38 +00:00
import { createApp } from 'vue'
import App from './App.vue'
2022-04-09 07:02:30 +00:00
import { DraggablePlugin } from '@braks/revue-draggable'
import { createAuth0 } from '@auth0/auth0-vue'
2022-04-09 14:23:09 +00:00
import router from './router'
2022-04-09 03:44:38 +00:00
2022-04-09 04:34:42 +00:00
const app = createApp(App)
2022-04-09 07:02:30 +00:00
app.use(
createAuth0({
domain: 'dev-ge84r-eu.us.auth0.com',
client_id: 'zHjZGg1uPws0DkQg5bRdKcDX8m6AuTZl', // eslint-disable-line camelcase
redirect_uri: window.location.origin, // eslint-disable-line camelcase
}),
)
2022-04-09 14:23:09 +00:00
app.use(router)
2022-04-09 04:34:42 +00:00
app.use(DraggablePlugin)
app.mount('#app')