wp5-cli
安装(install):
npm init -y
yarn add -D wp5-cli
使用(usage):
新建模版(init)
npx wp5 init
开发(dev)
npx wp5 dev
打包(build)
npx wp5 build
配置(config):
查看目录下wp5.config.js文件
create react app with Webpack 5
npm init -y
yarn add -D wp5-cli
npx wp5 init
npx wp5 dev
npx wp5 build
查看目录下wp5.config.js文件
create react app with Webpack 5