/backbone-webpack-route-splitting

Example of using Webpack's code splitting in a Backbone.js application

Primary LanguageJavaScriptMIT LicenseMIT

Backbone-Webpack-Route-Splitting

A quick example of code splitting on route using Backbone.js and Webpack 3

While I use yarn as a package manager in this project, this could be done with any node-based Webpack build system.

Getting Started

  1. Install node (recommended through nvm).
  2. If you installed via nvm, run nvm use
  3. Install dependencies with npm install or yarn install
  4. Run npm run dev to start a development server on http://localhost:8080
  5. Profit 💸!