V
Frontend
Vite Plugin Practice: Using Virtual Modules to Maintain MPA Pages
This article documents a plugin-based refactoring in our BFF page system: pages only declare a single `config.toml`, while page discovery, template matching, virtual entry generation, route mounting, and hot reload during development are all handled by Vite plugins.
May 16, 202519 min