marko/docs/browserify.md
Patrick Steele-Idem afb23c520a browserify docs
2017-03-02 02:34:25 -07:00

18 lines
535 B
Markdown

# Marko + Browserify
The [markoify](https://github.com/marko-js/markoify) transform for [browserify](https://github.com/substack/node-browserify) will automatically compile Marko templates that are required by other modules.
The [marko-browserify](https://github.com/marko-js-samples/marko-browserify) sample app is a great starting point if you would like to use Marko with Browserify.
## Installation
```bash
npm install markoify --save
```
## Usage
```bash
browserify -g markoify --extension=".marko" main.js -o bundle.js
```