diff --git a/docs/browserify.md b/docs/browserify.md new file mode 100644 index 0000000000..c3f1b2a609 --- /dev/null +++ b/docs/browserify.md @@ -0,0 +1,17 @@ +# 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 +```