Coder Social home page Coder Social logo

mip's Introduction

MIP

Build Status Build Status Coverage Status

Pull Request closed license

Sauce Test Status

What is MIP

MIP (Mobile Instant Pages) can make web pages open fast by optimizing javascript and resources.

中文版 README

A carousel effect can be as easy as below:

<script async src="https://c.mipcdn.com/static/v1/mip.js"></script>
<mip-carousel>
    <mip-img src="01.jpg"></mip-img>
    <mip-img src="02.jpg"></mip-img>
    <mip-img src="03.jpg"></mip-img>
</mip-carousel>

Fast. Most pages build by MIP will load in 1 second.
Easy to use. Use components to assemble a page, no need to write javascript.
Load on demand. Both images and scripts are load on demand, minify network resources.

Build a MIP Page

Currently, all of the tutorials are written in Chinese. If you need an english version, please submit an issue to let us know.

How to contribute?

If you have suggestions to a function or extensions, feel free to report an issue or make a pull request.

If code are modified, run npm install, npm run build to build a mip.js for preview.

Before adding a pull request, make sure:

  1. Use Vanilla JS.
  2. Write corresponding unit test, and nail it.
  3. Use simple and clear comments in english.
  4. Pass Fecs code style check.

License

MIT

Copyright (c) 2015-present, Baidu Inc.

mip's People

Contributors

apple01150525 avatar dongshihao avatar erik168 avatar futureplayer avatar gkrace avatar harttle avatar irvin avatar jennyliang220 avatar junmer avatar momofan avatar oott123 avatar schoeu avatar venyxiong avatar wupengfex avatar xuexb avatar yuyutong avatar zealot 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.