V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
爱意满满的作品展示区。
SuYia
7.89D
6.71D

前端构建 seed 项目

  •  
  •   SuYia ·
    thonatos · Oct 12, 2015 · 2971 views
    This topic created in 3850 days ago, the information mentioned may be changed or developed.

    Intro

    主要包含了前端构建的一些 pkg ,方便针对不同版本的发布。

    不一定非要是 node 项目,也可以是其他类型,反正 tpl 按照自己的喜好换掉,最后路径设置过来就 ok.

    Structure

    ├── backend
    │   ├── app_run.json  # 运行环境
    │   └── enum_env.json # 运行环境枚举
    ├── frontend
    │   ├── bower.json  # 包管理
    │   ├── gulpfile.js # gulp 配置文件
    │   ├── public
    │   │   ├── css     # 开发与生产环境的 css 文件
    │   │   ├── js      # 开发与生产环境的 js 文件
    │   │   └── vendors # 公共库
    │   │       └── normalize.css
    │   ├── src
    │   │   ├── css
    │   │   │   ├── less
    │   │   │   └── less-page # 待编译的 css 页面
    │   │   ├── js
    │   │   │   └── js-page # 待编译的 js 页面
    │   │   ├── rev # 版本号信息
    │   │   │   ├── css
    │   │   │   └── js  
    │   │   └── tpl
    │   │       └── dev # 开发环境模板
    |   |       └── pro # 生产环境模板
    │   └── webpack.config.js # js 配置文件
    └── package.json
    

    欢迎 star & push .

    4 replies    2015-10-12 23:59:25 +08:00
    mcfog
        1
    mcfog  
       Oct 12, 2015
    竞品来咯
    mcfog/glimmervoid

    https://github.com/mcfog/glimmervoid

    gulp+webpack+bower(可选)
    oojiayu
        2
    oojiayu  
       Oct 12, 2015


    于是就看到你的博客某个页面访问出错了……
    SuYia
        3
    SuYia  
    OP
       Oct 12, 2015
    @oojiayu 长得丑,不想要简介了就给去掉了 T.T ,链接还没更新~
    SuYia
        4
    SuYia  
    OP
       Oct 12, 2015
    @mcfog

    嗯哼,需求不一样嘛
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5827 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 75ms · UTC 01:51 · PVG 09:51 · LAX 18:51 · JFK 21:51
    ♥ Do have faith in what you're doing.