mirror of https://github.com/pixelfed/pixelfed
wip
parent
187d1e1af9
commit
25ba427775
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,15 @@
|
||||
import "./assets/app.scss";
|
||||
import * as bootstrap from "bootstrap";
|
||||
window.bootstrap = bootstrap;
|
||||
import { createApp } from "vue";
|
||||
import { createPinia } from "pinia";
|
||||
|
||||
import App from "./App.vue";
|
||||
import router from "./router";
|
||||
|
||||
const app = createApp(App);
|
||||
|
||||
app.use(createPinia());
|
||||
app.use(router);
|
||||
|
||||
app.mount("#app");
|
||||
@ -0,0 +1,25 @@
|
||||
import { fileURLToPath, URL } from 'node:url'
|
||||
import path from 'path'
|
||||
import { defineConfig } from 'vite'
|
||||
import vue from '@vitejs/plugin-vue'
|
||||
import vueJsx from '@vitejs/plugin-vue-jsx'
|
||||
import laravel from 'laravel-vite-plugin'
|
||||
|
||||
// https://vitejs.dev/config/
|
||||
export default defineConfig({
|
||||
publicDir: "public",
|
||||
plugins: [
|
||||
vue(),
|
||||
vueJsx(),
|
||||
laravel([
|
||||
'resources/js/main.js',
|
||||
]),
|
||||
],
|
||||
resolve: {
|
||||
alias: {
|
||||
'@': fileURLToPath(new URL('./resources/js', import.meta.url)),
|
||||
'~bootstrap': path.resolve(__dirname, 'node_modules/bootstrap'),
|
||||
'~': path.resolve(__dirname, 'resources/js'),
|
||||
}
|
||||
}
|
||||
})
|
||||
Loading…
Reference in New Issue