GithubHelp home page GithubHelp logo

kommander / backbone-webpack-example Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jerrysu/backbone-webpack-example

0.0 2.0 0.0 22 KB

Example of converting a Backbone app to use Webpack

HTML 9.34% JavaScript 88.90% CSS 1.76%

backbone-webpack-example's Introduction

Backbone.js & Webpack TodoMVC Example

This example uses Webpack to bundle all JavaScript and CSS dependencies in the app!

Loaders

For JavaScript:

  • babel - Turns ES6+ code into ES5-friendly code, supports React, JSX, and Flow as well
  • react-hot - Enables live-editing of React components, preserving their state
  • eslint - Add lint rules to enforce best practices, supports ES6, React, and JSX as well
  • jshint - Similar to above
  • markdown - Loads markdown from a file that can then be easily rendered as HTML
  • handlebars, mustache, ejs, etc - Various flavors of templating

For CSS:

  • postcss - Transform CSS with autoprefixing, minification, RTL, etc.
  • sass - Extends CSS with more traditional programming mechanisms (mixins, functions, etc.)
  • less - Similar to above
  • autoprefixer - Adds vendor prefixes to CSS

Plug-ins

  • HotModuleReplacementPlugin - Replaces JavaScript/CSS modules without reloading the browser
  • I18n - Create locale-specific bundles with translations baked in
  • Rewire - Modify behavior of modules for easier unit testing in node.js
  • UglifyJs - Minifies JavaScript output in bundles (use in a production config)

backbone-webpack-example's People

Contributors

jerrysu avatar

Watchers

 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.