Installing Marionette
As with all JavaScript libraries, there are a number of ways to get started with a Marionette application. In this section we'll cover the most common ways.
Quick start using NPM and Webpack
NPM is the package manager for JavaScript.
Installing with NPM through command-line interface
npm install backbone.marionette
Webpack is a build tool that makes it easy to pull your dependencies together into a single bundle to be delivered to your browser's <script>
tag. It works particularly well with Marionette and jQuery.
Here we prepared simple marionettejs skeleton with Webpack.
Quick start using NPM and Brunch
Brunch is fast front-end web app build tool with simple declarative config, seamless incremental compilation for rapid development, an opinionated pipeline and workflow, and core support for source maps.
Here we prepared simple marionettejs skeleton with Brunch.
Quick start using NPM and Browserify
Browserify is a build tool that makes it easy to bundle NPM modules into your application, so you can require
them as you would import dependencies in any other language.
Here we prepared simple marionettejs skeleton with Browserify.
Browserify and Grunt
Grunt is task runner. Here is simple Browserify + Grunt skeleton.
Browserify and Gulp
Gulp is streaming build system. Here is simple Browserify + Gulp skeleton.
© 2017 Muted Solutions, LLC
Licensed under the MIT License.
https://marionettejs.com/docs/v3.5.1/installation.html