diff --git a/notes.md b/notes.md index b17d369..59abfed 100644 --- a/notes.md +++ b/notes.md @@ -23,11 +23,12 @@ Requirements ## NOT INCLUDED * code splitting - #### html * html-webpack-plugin - automatically create index.html or use a template file also takes care of templating - default templating is ejs +* ejs-compiled-loader (for use with the ejs templates) + bit of a fuck on getting it to work - [issue](https://github.com/bazilio91/ejs-compiled-loader/issues/46) #### js @@ -41,7 +42,7 @@ Requirements #### css * css-loader -* style-loader - injects css into dom (defaults to style tags) +* style-loader - injects css into dom (defaults to style tags) * mini-css-extract-plugin - extracts css to separate files * postcss-loader * postcss-preset-env @@ -56,15 +57,12 @@ Requirements * stylelint-webpack-plugin #### other - * clean-webpack-plugin - #### live server * webpack-dev-server - ## Installation notes make repository private - edit package.json diff --git a/src/templates/index.ejs b/src/templates/index.ejs index b939f10..a85368d 100644 --- a/src/templates/index.ejs +++ b/src/templates/index.ejs @@ -19,7 +19,8 @@
- <%- include partials/component %> + <% let data = {text: 'text is text'} %> + <%- include partials/component data %>