A next mobile boilerplate using ant-design-mobile with full support from development to deployment.
ant-design-mobileas Mobile UI.expressserver customization.- Combines
prettierandESlintin pre-commit hook usinglint-staged. Stop worrying about shit code slip into your code base. pm2as the production process manager.http-proxy-middlewarefor remote server api proxy to avoid CORS error.- assets hash for production static resources version control.
git clone https://github.com/posrix/next-mobile-boilerplate my-project
cd my-project
npm install
npm run devFirst, git clone your project to production server. Then simply type sh deploy.sh. By default, production server will listen at port 3100. Modify config/env.js for customization.
The MIT License (MIT). Please see License File for more information.