This commit makes an initial port of the front-end over to a proper Vue CLI application. It seems to work from surface level testing. Changes made: * Rename web/static to public/static to place it into the Vue build path * Notes: web/static/js/BareRTC.js and web/templates/chat.html are now deprecated * Rename web/static/js/sounds.js into src/lib/sounds.js making it a proper JavaScript module with exports. * Fill out initial src/App.vue by copying and updating web/templates/chat.html and web/static/js/BareRTC.js into this module.
9 lines
120 B
JavaScript
9 lines
120 B
JavaScript
import './assets/main.css'
|
|
|
|
import { createApp } from 'vue'
|
|
import App from './App.vue'
|
|
|
|
createApp(App).mount('#app')
|
|
|
|
|