13 lines
291 B
JavaScript
13 lines
291 B
JavaScript
import vue from '@vitejs/plugin-vue';
|
|
import path from 'node:path';
|
|
import {defineConfig} from 'vite';
|
|
|
|
const rootPath = path.join(process.cwd(), 'examples');
|
|
|
|
/* @type {import('vite').UserConfig} */
|
|
export default defineConfig({
|
|
root: rootPath,
|
|
plugins: [vue()],
|
|
base: '/',
|
|
});
|