{"id":20747,"library":"webpack-dev","title":"webpack-dev","description":"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.","status":"maintenance","version":"1.1.1","language":"javascript","source_language":"en","source_url":"https://github.com/tangsj/webpack-dev","tags":["javascript"],"install":[{"cmd":"npm install webpack-dev","lang":"bash","label":"npm"},{"cmd":"yarn add webpack-dev","lang":"bash","label":"yarn"},{"cmd":"pnpm add webpack-dev","lang":"bash","label":"pnpm"}],"dependencies":[],"imports":[{"note":"The CLI command is 'wdev' (not 'webpack-dev') after global installation.","wrong":"npx webpack-dev init <name> <path>","symbol":"wdev","correct":"npx wdev init <name> <path>"}],"quickstart":{"code":"npm install -g webpack-dev\nwdev init pc ./my-pc-project\ncd ./my-pc-project\nnpm install\nnpm run dev","lang":"javascript","description":"Shows global installation, generating a PC multi-page project template, installing dependencies, and starting the dev server."},"warnings":[{"fix":"Consider using more modern scaffolding tools like create-react-app or Vue CLI for new projects.","message":"Tool is not actively maintained; may not support latest webpack versions.","severity":"gotcha","affected_versions":">=1.0.0"}],"env_vars":null,"last_verified":"2026-04-25T00:00:00.000Z","next_check":"2026-07-24T00:00:00.000Z","problems":[{"fix":"Run 'npm install -g webpack-dev' and ensure npm global bin directory is in your PATH.","cause":"Global npm module not installed or PATH not set correctly.","error":"bash: wdev: command not found"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}