devlinjunker / template.webpack.fend

Example using Webpack to build a FEND Browser App (with HTML/CSS/JS and Image files)
http://devlinjunker.github.io/template.webpack.fend
MIT License
3 stars 2 forks source link

Components - Static Footer #22

Closed devlinjunker closed 4 years ago

devlinjunker commented 4 years ago

Description

Added footer static component.

Related

11

https://github.com/emaphp/underscore-template-loader/pull/39 https://github.com/emaphp/underscore-template-loader/pull/36

Visual

footer: static footer

macros: footer

TODO

devlinjunker commented 4 years ago

Note: requires this PR in underscore-template-loader: https://github.com/emaphp/underscore-template-loader/pull/39 or requires adding the following line to ./node_modules/undesrcore-template-loader/index.js at line 83:

  if (this.query && _.isObject(this.query.macros)) {
    _.extend(macros, this.query.macros);
  }

Need to add this after every npm install

see comment below

devlinjunker commented 4 years ago

v1.1 of underscore-template-loader fixed the issues with macros in webpack.config.js, so changes to libraries are no longer needed and this is not blocked by that anymore!

💯