项目作者: posrix

项目描述 :
A next mobile boilerplate using antd-mobile with full support from development to deployment
高级语言: JavaScript
项目地址: git://github.com/posrix/next-mobile-boilerplate.git
创建时间: 2018-02-23T03:53:05Z
项目社区:https://github.com/posrix/next-mobile-boilerplate

开源协议:MIT License

下载


next-mobile-boilerplate

A next mobile boilerplate using ant-design-mobile with full support from development to deployment.

Features

  • ant-design-mobile as Mobile UI.
  • express server customization.
  • Combines prettier and ESlint in pre-commit hook using lint-staged. Stop worrying about shit code slip into your code base.
  • pm2 as the production process manager.
  • http-proxy-middleware for remote server api proxy to avoid CORS error.
  • assets hash for production static resources version control.

Getting started

  1. git clone https://github.com/posrix/next-mobile-boilerplate my-project
  2. cd my-project
  3. npm install
  4. npm run dev

Deployment

First, 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.

License

The MIT License (MIT). Please see License File for more information.