VCinema/src/main.js

34 lines
920 B
JavaScript
Raw Normal View History

2021-01-03 04:56:46 +00:00
import { createApp } from 'vue'
import App from './App.vue'
import Router from './router'
// Import global components.
2021-01-03 06:18:09 +00:00
import Upload from './components/Upload.vue'
2021-01-03 04:56:46 +00:00
// Import PrimeVue dependencies.
import PrimeVue from 'primevue/config'
import Button from 'primevue/button'
import Card from 'primevue/card'
import FileUpload from 'primevue/fileupload'
import InputText from 'primevue/inputtext'
import MenuBar from 'primevue/menubar'
import 'primeflex/primeflex.css'
import 'primeicons/primeicons.css'
import 'primevue/resources/primevue.min.css'
import 'primevue/resources/themes/bootstrap4-light-blue/theme.css'
const app = createApp(App)
app.use(Router)
app.use(PrimeVue)
app.component('Button', Button)
app.component('Card', Card)
app.component('FileUpload', FileUpload)
app.component('InputText', InputText)
app.component('MenuBar', MenuBar)
app.component('Upload', Upload)
// Render to DOM.
app.mount('#app')