GithubHelp home page GithubHelp logo

elanalynn / webpack-experiment-demo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from alp82/webpack-experiment-demo

0.0 1.0 0.0 264 KB

Demo for an experiment with Webpack, which is a step by step code example with explanatory slides.

Home Page: http://alp82.github.io/webpack-experiment-demo/

License: MIT License

HTML 15.13% JavaScript 41.63% CSS 43.24%

webpack-experiment-demo's Introduction

webpack-experiment-demo

Demo for an experiment with Webpack, which is a step by step code example with explanatory slides.

Online version of finished app can be found at Online Demo.

Purpose

This is a demonstration for Webpack beginners to learn about module bundlers and how they can improve web development. It's a working application that takes a search query and shows suitable gifs as a result.

The Search

Slides

The slides that explain this demonstration can be found here:

Installation (Step by Step)

This repository has six subfolders named step1 to step6. Each step is based one on the other, and progressively demonstrates the main benefits of using Webpack as a module bundler.

To build each step, go into the folder and do the following:

  • npm install
  • node_modules/webpack/bin/webpack.js
  • open index.html in a browser

Step 1

Basic setup without any modules.

Step 2

How to load Javascript modules.

Step 3

Loader concept and Babel as Javascript preprocessor.

Step 4

More Loader details, HTML templates and CSS modules.

Step 5

Static assets and external files.

Step 6

Loading and bundling local libraries.

Further Reading

Please inspect the "Inspirational Sources" of the slides for more information.

License

MIT licensed

Contact

Please tweet me or create a Github issue if you have any questions or remarks.

webpack-experiment-demo's People

Contributors

alp82 avatar alex-wilmer avatar

Watchers

James Cloos 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.