Coder Social home page Coder Social logo

page-design's Introduction

page design

MIP 徽章 mag-design 徽章 Build Status

通过 mag design 的输出,构建精美的 MIP 页面模板。

架构设计

  1. 基于 art-template 、JSON 数据配置、 stylus(已加载 autoprefixer 插件) 、 gulp 编译和构建。
  2. 使用 file.json 数据编译 file.html ,并自动处理 file.styl 样式编译到 <head> 中。
  3. 本地开发使用源代码,编译生成压缩版代码。
  4. 模板目录 src/templates/* 自动生成 zip 压缩包(包含源文件)。

开发指南

  1. 安装 nodejs 版本4+ ,下载项目到本地后安装依赖 npm install
  2. 运行 npm run dev 本地开发调试,将开启 web server 实时预览。
  3. 运行 npm run validator 验证开发页面是否符合 MIP-HTML 规范
  4. 运行 npm run build 编译产出 HTML 文件到 dist 目录。

更多开发指南请看: 贡献指南

License

MIT

page-design's People

Contributors

caoru828 avatar chang1ng avatar dongshihao avatar jenkey2011 avatar jennyliang220 avatar venyxiong avatar wupengfex avatar xuexb avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.