Added php prettier plugin

This commit is contained in:
2025-09-12 20:15:56 +08:00
parent 41afb834ae
commit d24a522b32
19 changed files with 7805 additions and 47 deletions

View File

@@ -2,6 +2,7 @@ import {defineConfig, loadEnv} from 'vite';
import vue from '@vitejs/plugin-vue';
import Components from 'unplugin-vue-components/vite';
import * as path from 'path';
import { nodePolyfills } from 'vite-plugin-node-polyfills'
export default defineConfig(({mode}: { mode: string }): object => {
const env: Record<string, string> = loadEnv(mode, process.cwd());
@@ -15,6 +16,7 @@ export default defineConfig(({mode}: { mode: string }): object => {
},
plugins: [
vue(),
nodePolyfills(),
Components({
dts: true,
dirs: ['src/components'],