Define base in vite.config.js

This commit is contained in:
Ariful Alam
2022-03-20 01:09:14 +06:00
parent 7da02cbceb
commit c1068821a1

View File

@@ -1,7 +1,8 @@
import { defineConfig } from 'vite' import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react' import react from '@vitejs/plugin-react';
// https://vitejs.dev/config/ // https://vitejs.dev/config/
export default defineConfig({ export default defineConfig({
plugins: [react()] base: '/ezprofile/',
}) plugins: [react()],
});