- App.vue, Sidebar.vue - main.ts, router/index.ts - package.json, vite.config.ts Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
22 lines
396 B
TypeScript
22 lines
396 B
TypeScript
import { defineConfig } from 'vite'
|
|
import vue from '@vitejs/plugin-vue'
|
|
import { resolve } from 'path'
|
|
import monacoEditorPlugin from 'vite-plugin-monaco-editor'
|
|
|
|
export default defineConfig({
|
|
plugins: [
|
|
vue(),
|
|
(monacoEditorPlugin as any).default({})
|
|
],
|
|
resolve: {
|
|
alias: {
|
|
'@': resolve(__dirname, 'src')
|
|
}
|
|
},
|
|
server: {
|
|
fs: {
|
|
allow: ['..']
|
|
}
|
|
}
|
|
})
|