Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added documentation example to create partials using gulp-wrap #12

Closed
wants to merge 1 commit into from

Conversation

kahwee
Copy link

@kahwee kahwee commented Feb 19, 2014

This is on clean branch as compared to the previous pull request. It also addresses the issues @lazd noted in #11

@@ -42,6 +42,33 @@ gulp.task('templates', function(){
});
```

## Compiling to a partial

[gulp-wrap] can be used to compile templates for the browser. Just pipe the output of `gulp-handlebars` to `gulp-wrap`:
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

`[gulp-wrap]` can be used to declare partials. Just pipe the output of `gulp-handlebars` to `gulp-wrap`:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants