Skip to content

Commit e487986

Browse files
committed
fix
1 parent ed2bd51 commit e487986

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import App from './App.vue';
44
import i18n from '@/application/i18n';
55
import hawk from '@/application/error-catcher';
66
import router from '@/application/router/index';
7-
import '@codexteam/ui/styles';
7+
import '../@codexteam/ui/dist/styles.css';
88
import '@/presentation/styles/index.pcss';
99

1010
const app = createApp(App);

vite.config.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,12 @@ import { defineConfig, loadEnv } from 'vite';
22
import vue from '@vitejs/plugin-vue';
33
import hawkVitePlugin from '@hawk.so/vite-plugin';
44
import process from 'process';
5+
import path from 'path';
56

67
export default defineConfig(({ mode }) => {
78
const env = loadEnv(mode, process.cwd());
89

910
return {
10-
build: {
11-
rollupOptions: {
12-
external: ['codex-ui/vue'],
13-
},
14-
},
1511
plugins: [
1612
vue(),
1713
hawkVitePlugin({
@@ -20,6 +16,7 @@ export default defineConfig(({ mode }) => {
2016
],
2117
resolve: {
2218
alias: {
19+
'codex-ui': path.resolve(__dirname, './@codexteam/ui/dist'),
2320
/* eslint-disable-next-line @typescript-eslint/naming-convention */
2421
'@/': '/src/',
2522
},

0 commit comments

Comments
 (0)