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

Using the "Handlebars" (or similar) instead of "Blueimp". #38

Closed
Stas404 opened this issue May 16, 2015 · 4 comments
Closed

Using the "Handlebars" (or similar) instead of "Blueimp". #38

Stas404 opened this issue May 16, 2015 · 4 comments

Comments

@Stas404
Copy link

Stas404 commented May 16, 2015

For example, I want to use "partials" in "index.html" — how can I do this?
Thanks.

@bebraw
Copy link

bebraw commented May 16, 2015

See

plugins: [
  new HtmlWebpackPlugin({
    templateContent: function(templateParams, webpackCompiler) {
      // Return your template content synchronously here 
    }
  })
]

You can perform the conversion there.

@SimenB
Copy link
Contributor

SimenB commented May 17, 2015

@stas-webwork To use partials, you'll have to run Handlebars.registerPartial manually if you're currently relying on handlebars-loader to register them for you. As mentioned on gitter, no files you require in webpack.config is passed through loaders, as the config-file is just plain node, not webpack.

@Stas404
Copy link
Author

Stas404 commented May 17, 2015

It's ok. Thanks.
Next step in using Handlebars in index.html:
#40

@Stas404 Stas404 closed this as completed May 17, 2015
@lock
Copy link

lock bot commented Jun 1, 2018

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Jun 1, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants