"添加前端模板和运行代码模块"
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
import { defineConfig } from 'vite';
|
||||
import react from '@vitejs/plugin-react';
|
||||
import appdevDesignMode from '../../packages/plugin/src/index';
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [
|
||||
react(),
|
||||
appdevDesignMode({
|
||||
enabled: true,
|
||||
verbose: true,
|
||||
attributePrefix: 'data-source',
|
||||
exclude: ['node_modules'],
|
||||
include: ['**/*.{tsx,ts,jsx,js}'],
|
||||
}),
|
||||
],
|
||||
});
|
||||
Reference in New Issue
Block a user