Alias updates
parent
4c65a18053
commit
d94c2ce80f
|
@ -1,4 +1,4 @@
|
||||||
import viteConfig from './vite.config';
|
import aliasConfig from './alias.config';
|
||||||
|
|
||||||
const baseUrl = '/';
|
const baseUrl = '/';
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@ export default defineNuxtConfig({
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
nitro: {
|
nitro: {
|
||||||
alias: viteConfig.resolve.alias
|
alias: aliasConfig.resolve.alias
|
||||||
},
|
},
|
||||||
primevue: {
|
primevue: {
|
||||||
options: {
|
options: {
|
||||||
|
@ -76,5 +76,6 @@ export default defineNuxtConfig({
|
||||||
gtag: {
|
gtag: {
|
||||||
id: 'G-48TTQ6G6KV'
|
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 path from 'path';
|
||||||
import { mergeConfig } from 'vite';
|
import { mergeConfig } from 'vite';
|
||||||
import { defineConfig } from 'vitest/config';
|
import { defineConfig } from 'vitest/config';
|
||||||
import viteConfig from './vite.config';
|
import aliasConfig from './alias.config';
|
||||||
|
|
||||||
export default mergeConfig(
|
export default mergeConfig(
|
||||||
viteConfig,
|
aliasConfig,
|
||||||
defineConfig({
|
defineConfig({
|
||||||
plugins: [vue()],
|
plugins: [vue()],
|
||||||
test: {
|
test: {
|
||||||
|
|
Loading…
Reference in New Issue