Zova CLI Frontend Project Template Provisioner
The `zova-cli-set-front` package is an internal component of the Zova CLI, a command-line interface designed to streamline the development of applications using the Zova framework. Zova itself is a modern TypeScript-first framework (current stable version 1.2.34) that integrates development paradigms from Vue3, React, and Angular, aiming to provide an intuitive and efficient experience for building SSR/SPA/Website/Admin-Dashboard applications. This particular CLI component is responsible for provisioning frontend project templates, allowing developers to quickly scaffold new Zova projects with popular UI libraries like Ant Design Vue (antdv), Element Plus, Quasar, or Vuetify, as well as an empty template for custom setups. It abstracts away initial configuration, focusing on enabling developers to immediately start building their applications within the Zova ecosystem. The framework emphasizes modularization, an Inversion of Control (IOC) container, built-in Server-Side Rendering (SSR), and a refined reactivity system that avoids common Vue.js `ref`/`reactive` boilerplate. While a specific release cadence for individual CLI components is not explicitly stated, the overarching Zova project appears to be under active development and maintenance.
Common errors
-
zova :create:project: command not found
cause The Zova CLI is either not installed globally, or it's not in your system's PATH. Alternatively, you might be using `npm` or `yarn` instead of `pnpm` for global installation.fixEnsure `zova-cli` is installed globally using `pnpm`: `pnpm add -g zova-cli@latest`. Verify `pnpm`'s global bin directory is in your system's PATH. -
Error: Node.js version unsupported. Zova CLI requires Node.js >=24.8.0
cause Your current Node.js version is older than the minimum requirement specified by Zova CLI.fixUpdate your Node.js installation to version 24.8.0 or newer. Consider using a version manager like `nvm` (Node Version Manager) for easy switching: `nvm install 24` then `nvm use 24`.
Warnings
- breaking Zova CLI has strict Node.js and pnpm version requirements. Using unsupported versions may lead to installation failures or unexpected behavior.
- gotcha The Zova CLI uses a non-standard command syntax with colons (e.g., `:create:project`). Incorrect command formatting will result in 'command not found' errors.
- gotcha This `zova-cli-set-front` package is an internal component. Attempting to install it directly via `npm install zova-cli-set-front` or import from it programmatically is not the intended usage and will not expose the project creation functionality.
Install
-
npm install zova-cli-set-front -
yarn add zova-cli-set-front -
pnpm add zova-cli-set-front
Imports
- zova
import { createProject } from 'zova-cli-set-front'pnpm add -g zova-cli@latest zova :create:project my-app --template=vuetify
- :create:project
zova create project my-frontend-app
zova :create:project my-frontend-app --template=element-plus
- --template
zova :create:project my-app --ui=quasar
zova :create:project my-app --template=quasar
Quickstart
pnpm add -g zova-cli@latest # Create a new Zova frontend project using the Vuetify template zova :create:project my-zova-app --template=vuetify cd my-zova-app # Install project dependencies (using pnpm, as recommended by Zova) pnpm install # Start the development server pnpm run dev # This will typically open the application in your browser at http://localhost:3000 (or similar)