webpack-dev

raw JSON →
1.1.1 verified Sat Apr 25 auth: no javascript maintenance

webpack-dev is a scaffolding tool for generating webpack project templates. It provides a simple CLI command 'wdev init' to initialize PC multi-page, mobile multi-page, mobile single-page, and webpack4-based mobile single-page projects. The tool is globally installable via npm and offers versioning, but is currently in a maintenance phase with limited updates. It differentiates by offering predefined templates for common mobile and PC project structures, though it is less flexible than newer alternatives like create-react-app or Vue CLI.

error bash: wdev: command not found
cause Global npm module not installed or PATH not set correctly.
fix
Run 'npm install -g webpack-dev' and ensure npm global bin directory is in your PATH.
gotcha Tool is not actively maintained; may not support latest webpack versions.
fix Consider using more modern scaffolding tools like create-react-app or Vue CLI for new projects.
npm install webpack-dev
yarn add webpack-dev
pnpm add webpack-dev

Shows global installation, generating a PC multi-page project template, installing dependencies, and starting the dev server.

npm install -g webpack-dev
wdev init pc ./my-pc-project
cd ./my-pc-project
npm install
npm run dev