Alias updates

pull/4683/head
Tuğçe Küçükoğlu 2023-10-24 14:45:37 +03:00
parent 4c65a18053
commit d94c2ce80f
3 changed files with 6 additions and 5 deletions

View File

@ -1,4 +1,4 @@
import viteConfig from './vite.config';
import aliasConfig from './alias.config';
const baseUrl = '/';
@ -14,7 +14,7 @@ export default defineNuxtConfig({
}
],
nitro: {
alias: viteConfig.resolve.alias
alias: aliasConfig.resolve.alias
},
primevue: {
options: {
@ -76,5 +76,6 @@ export default defineNuxtConfig({
gtag: {
id: 'G-48TTQ6G6KV'
},
css: ['/node_modules/primeflex/primeflex.css', '/node_modules/primeicons/primeicons.css', '@/assets/styles/flags.css', '@docsearch/css/dist/style.css', '@/assets/styles/layout/landing/_landing.scss', '@/assets/styles/layout/layout.scss']
css: ['/node_modules/primeflex/primeflex.css', '/node_modules/primeicons/primeicons.css', '@/assets/styles/flags.css', '@docsearch/css/dist/style.css', '@/assets/styles/layout/landing/_landing.scss', '@/assets/styles/layout/layout.scss'],
vite: aliasConfig
});

View File

@ -2,10 +2,10 @@ import vue from '@vitejs/plugin-vue';
import path from 'path';
import { mergeConfig } from 'vite';
import { defineConfig } from 'vitest/config';
import viteConfig from './vite.config';
import aliasConfig from './alias.config';
export default mergeConfig(
viteConfig,
aliasConfig,
defineConfig({
plugins: [vue()],
test: {