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

Html templating+css extraction #10

Closed devlinjunker closed 4 years ago

devlinjunker commented 4 years ago

Description

Figure out HTML Templating with underscore loader CSS Extraction with mini-css-extract-plugin

Had to update karma-webpack to v4 to fix issue with running tests/karma after adding mini-css-extract-plugin: https://github.com/webpack-contrib/karma-webpack/issues/394#issuecomment-552188313

Related

N/A

Visual

CSS Files rather than inline style: Screenshot 2020-05-01 09 41 59

Templating with Header on both pages: Screenshot 2020-05-01 09 42 12

TODO