考勤网 CLI命令 # install dependencies npm install # serve with hot reload at localhost:8080 npm run dev # build for production with minification npm run build # test the production build locally npm run serve # run tests with jest and preact-render-spy npm run test 有关工作原理的详细说明,请参阅。