feat: added vue examples

This PR includes Vue examples, in particular:
- Vue Spa
- Vue Spa + Router
- Vue using Sever Side Rendering with Express.js.

Also updated the general Readme.
This commit is contained in:
h+
2024-07-28 20:35:56 +02:00
parent b168c34d56
commit 9e12b517c0
68 changed files with 7703 additions and 2 deletions

18
vue/spa/vite.config.ts Normal file
View File

@@ -0,0 +1,18 @@
import { fileURLToPath, URL } from 'node:url'
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import vueDevTools from 'vite-plugin-vue-devtools'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [
vue(),
vueDevTools(),
],
resolve: {
alias: {
'@': fileURLToPath(new URL('./src', import.meta.url))
}
}
})