frontend-webpack-boilerplate icon indicating copy to clipboard operation
frontend-webpack-boilerplate copied to clipboard

How to handle html pages if i have more than 20 html pages?

Open creativeDM opened this issue 4 years ago • 3 comments

I want to manage more than 20+ html pages? Is there any shortcut using webpack html plugin?

creativeDM avatar Aug 16 '21 04:08 creativeDM

@creativeDM

Since v5.4.0 of this boilerplate template, all HTML files located in src/ will be automatically processed, no need to configure or specify anything regarding the processing of the HTML files.

So just place all your 20 files in the src/ directory and webpack will process them.

pnikolov avatar Sep 02 '21 08:09 pnikolov

@pnikolov Hello! I have a similar issue. I have placed my about.html in src but when I go to localhost:8000/about - I just get the error Cannot GET /about. Is there anything I'm missing here?

tommypanagora avatar Feb 19 '22 13:02 tommypanagora

@tommypanagora

If you have named your page about.html and you are running the dev server on port 8000 the URL to the page is localhost:8000/about.html

pnikolov avatar Feb 21 '22 13:02 pnikolov