@refastdev/create-refast-app
Version:
create-refast-app
18 lines (16 loc) • 333 B
JavaScript
import { refastPlugin } from '@refastdev/refast-dev';
import path from 'path';
import { defineConfig } from 'vite';
export default defineConfig({
appType: 'spa',
resolve: {
alias: {
'@': path.join(__dirname, 'src'),
},
},
plugins: [
refastPlugin({
appType: 'react',
}),
],
});