• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

yeoman/generator-mobile: Scaffold out a mobile project based on Web Starter Kit

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

yeoman/generator-mobile

开源软件地址(OpenSource Url):

https://github.com/yeoman/generator-mobile

开源编程语言(OpenSource Language):

JavaScript 100.0%

开源软件介绍(OpenSource Introduction):

Generator Mobile Build Status

A mobile-first generator based on Web Starter Kit.

Web Starter Kit

In addition to what Web Starter Kit already provides, this generator creates a deploy task.

Yeoman generator

Getting started

You will need NodeJS, npm and yeoman installed.

  1. Install this generator with npm install --global generator-mobile.
  2. Run yo mobile and answer a few questions about the site you want to build.
  3. The latest release will be fetched from Web Starker Kit repo and adjusted accordingly to your answers.
  4. Build the site as usual using the instructions on the WSK repo skipping the download step.
  5. If you've chosen a deployment option, run gulp deploy to publish the site.

Hosting and Deployment options

There are 3 hosting categories currently supported by the generator: static hosting, PaaS providers and regular servers.

Here's a list of implementation status for each category.

Static hosting

PaaS

Servers

Deployment options (servers only)

Please, refer to the docs folder for details about hosting and deployment.

Development

  1. Fork the repo and create a local copy with

    git clone git@github.com:user/generator-mobile.git.

  2. Create a new branch to work on a bugfix or a new feature with

    git checkout -b branch-name.

  3. Add new tests or modify existing ones to reflect the changes you want to make.

  4. Make the changes until npm test is all green again.

  5. Occasionally push changes to github with git push origin branch-name.

  6. Iterate over 3-5 as many times as you want.

  7. You can also try running the generator with your local changes manually using npm link.

  8. Once you're satisfied, create a pull request.

License

BSD license Copyright (c) Google




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap