A deprecated CLI tool for scaffolding and managing Dva.js applications with built-in project structure and configuration.
dva-cli is a command-line utility for the Dva.js framework that automates the creation and setup of new Dva-based applications. It generates a predefined project structure with directories for models, components, routes, and services, along with configuration files for tools like ESLint and Roadhog. This tool solves the problem of manual project initialization, ensuring developers can quickly start building with Dva.js without spending time on boilerplate setup.
Frontend developers and teams using the Dva.js framework who need a standardized and efficient way to bootstrap new projects with consistent architecture and configuration.
Developers choose dva-cli because it provides a ready-to-use project template that aligns with Dva.js best practices, reducing setup time and enforcing a common structure across teams. Its integration with Roadhog for build and server configuration further simplifies the development workflow, though it is now deprecated in favor of create-umi.
The dva command line utility.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Generates a complete Dva.js app with directories for models, routes, components, and services, as shown in the file tree, ensuring consistency across teams.
The --demo option creates a simplified project for quick experimentation, allowing developers to test ideas without full boilerplate setup.
Supports --no-install to skip automatic npm installation, giving developers flexibility to manage dependencies manually if needed.
Utilizes Roadhog for configuration, building, and serving, providing a pre-configured development environment out of the box.
The README explicitly states that dva-cli is deprecated and recommends using create-umi, meaning no future updates, bug fixes, or official support.
It's designed exclusively for Dva.js projects, making it unsuitable for applications using other React state management solutions or frameworks.
Relies on Roadhog for build configuration, which may lack support for modern web development features and has less active maintenance compared to current tools.