123456789101112131415161718192021 |
- import './assets/main.css'
- import { createApp } from 'vue'
- import App from './App.vue'
- import { createPinia } from 'pinia'
- import { install as VueMonacoEditorPlugin } from '@guolao/vue-monaco-editor'
- import 'bootstrap/dist/css/bootstrap.min.css'
- import 'bootstrap/dist/js/bootstrap'
- const app = createApp(App)
- const pinia = createPinia()
- app.use(pinia)
- app.use(VueMonacoEditorPlugin, {
- paths: {
- // The recommended CDN config
- vs: 'https://cdn.jsdelivr.net/npm/monaco-editor@0.47.0/min/vs'
- },
- })
- app.mount('#app')
|