Giter Site home page Giter Site logo

var-bin / angularjs-lazyload Goto Github PK

View Code? Open in Web Editor NEW
37.0 4.0 9.0 52 KB

This repo is existed to help you to understand how to implement lazyload technique via Webpack and a little bit of magic

Home Page: https://angularjs-lazyload.herokuapp.com

License: MIT License

JavaScript 79.43% HTML 20.57%
angularjs webpack uirouter oclazyload lazyload

angularjs-lazyload's Introduction

AngularJS + Webpack + ocLazyLoad = ๐Ÿ˜

GitHub license David Build Status Build status @var_bincom on Twitter Twitter

angularjs-lazyload

This repo is existed to help you to understand how to implement lazyload technique via Webpack and a little bit of magic.

Install

  1. Do git clone stuff.
  2. cd angularjs-lazyload.
  3. npm install.
  4. Run dev mode: npm start.

The init state of App:

project-root
โ”œโ”€โ”€ src
โ”‚   โ”œโ”€โ”€ core
โ”‚   โ”‚   โ”œโ”€โ”€ bootstrap.js
โ”‚   โ”œโ”€โ”€ pages
โ”‚   โ”‚   โ”œโ”€โ”€ blog
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ blog.module.js
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ blog.service.js
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ blog.view.html
โ”‚   โ”‚   โ”œโ”€โ”€ home
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ about
โ”‚   โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ about.module.js
โ”‚   โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ about.view.html
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ index
โ”‚   โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ index.module.js
โ”‚   โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ index.view.html
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ home.module.js
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ home.module.routing.js
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ home.module.states.js
โ”œโ”€โ”€ app.js
โ”œโ”€โ”€ app.routing
โ”œโ”€โ”€ app.states.js
โ”œโ”€โ”€ index.html

angularjs-lazyload's People

Contributors

var-bin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  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.