npm install # or yarn
package.json and prepare the project for development. This will also automatically copy required packages to src/assets/libs/ as configured in package-libs-config.json.npm run build # or yarn run build
dist folder, ready for deployment. The build process will compile CSS and JavaScript files, copy required packages to both src/assets/libs/ and dist/assets/libs/, and generate optimized production assets.npm start # or yarn start
start http://localhost:8000/src/index.php && php -S localhost:8000 router.php
router.php script ensures that static files (images, CSS, JS, fonts, etc.) are served correctly by the PHP built-in server. The vite.php helper automatically detects if the Vite dev server is running on port 5173. If it can't connect, it will fall back to production mode.