Welcome, after my video Webpack 5 with EJS, and the request of my viewers I like to show you in this episode, how I manage multiple HTML pages.
A sort of templating where the header, the menu, the main content, and the footer are in a separate files.
Related Videos
Updating NPM Packages to the latest Version
[ Ссылка ]
Webpack 5 with SASS - Part 1, The Development Configuration
[ Ссылка ]
Webpack 5 with SASS Part 2, The Production Configuration
[ Ссылка ]
Webpack 5 with EJS - Embedded JavaScript Templating
[ Ссылка ]
On GitHub you can find the code of this project, and in the readme.md file you will find useful links and resources.
Project on GitHub: [ Ссылка ]
Chapters
-------------------------------------------------------------------
00:00 - Intro
00:35 - Webpack from GitHub
01:40 - Testing Webpack
04:47 - Index.ejs
22:41 - Styling with CSS
59:11 - Template Structure
01:32:39 - EJS Scripts and Wrap Up
01:35:13 - Outro
![](https://i.ytimg.com/vi/Cim0AjivAoY/maxresdefault.jpg)