sindresorhus / gulp-template

Render/precompile Lodash templates
MIT License
289 stars 77 forks source link

Instructions #31

Closed fernandofas closed 8 years ago

fernandofas commented 8 years ago

Hi there,

I installed gulp-template and followed the instructions, but seems like there is an issue as the gulpfile.js is not generated and because of this issue, I can't use it.

Any idea why this is happening or is missing some instructions?

https://github.com/sindresorhus/gulp-template

Also, when you posted:

Usage

src/greeting.html

Hello <%= name %>

It does not mean anything to me as I can't find the gulpfile.js.

Cheers,

fernando fas fernandofas@gmail.com

SamVerschueren commented 8 years ago

You have to write your gulpfile.js yourselves. This is just a plugin to parse a template file like this:

<h1>Hello <%= name %></h1>

To an output file like

<h1>Hello Sindre</h1>

Please read the getting started guide of Gulp first.