import { defineConfig } from 'vite' import path from 'path'; export default defineConfig({ resolve: { alias: { '@components': path.resolve(__dirname, './.vitepress/theme/components') } } });