refactor: changed fetching fonts from remote to local; changed sass import rules to use

chore: updated packages
This commit is contained in:
2025-03-20 20:36:19 +01:00
parent f28f1e31c2
commit 42d0d1ddb9
18 changed files with 2461 additions and 2292 deletions
+11
View File
@@ -2,11 +2,22 @@ import { defineConfig } from 'vite';
import vue from '@vitejs/plugin-vue';
import { VitePWA } from 'vite-plugin-pwa';
import path from 'path';
export default defineConfig({
server: {
port: 8081,
},
css: {
preprocessorOptions: {
scss: { additionalData: `@use '@/styles/global';`, silenceDeprecations: ['legacy-js-api'] },
},
},
resolve: {
alias: {
'@': path.resolve(__dirname, 'src'),
},
},
plugins: [
vue(),
VitePWA({