Alias updates
parent
4c65a18053
commit
d94c2ce80f
|
@ -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
|
||||
});
|
||||
|
|
|
@ -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: {
|
||||
|
|
Loading…
Reference in New Issue