Noah Petherbridge
e728644a77
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.
17 lines
309 B
JavaScript
17 lines
309 B
JavaScript
import { fileURLToPath, URL } from 'node:url'
|
|
|
|
import { defineConfig } from 'vite'
|
|
import vue from '@vitejs/plugin-vue'
|
|
|
|
// https://vitejs.dev/config/
|
|
export default defineConfig({
|
|
plugins: [
|
|
vue(),
|
|
],
|
|
resolve: {
|
|
alias: {
|
|
'@': fileURLToPath(new URL('./src', import.meta.url))
|
|
}
|
|
}
|
|
})
|