updated react app and API backend

1. Added API backend for settings
2. Added React components for the settings page
3. Added JS lint using @wordpress/scripts
4. Lint fixes for PHP
This commit is contained in:
Abhijit Bhatnagar 2025-08-11 01:38:33 +05:30
parent 38067e490a
commit e80316be89
36 changed files with 45313 additions and 1736 deletions

View file

@ -1,16 +1,16 @@
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
export default defineConfig({
plugins: [react()],
build: {
outDir: 'build',
emptyOutDir: true,
rollupOptions: {
input: 'src/App.jsx',
output: {
entryFileNames: 'index.js'
}
}
}
});
export default defineConfig( {
plugins: [ react() ],
build: {
outDir: 'build',
emptyOutDir: true,
rollupOptions: {
input: 'src/App.jsx',
output: {
entryFileNames: 'index.js',
},
},
},
} );