Is there a way to view partial HTML templates locally without copying them into the main index.html file?
I'm looking for a solution that allows me to access my partial templates through a local URL without having to manually paste them into the main HTML document. While I am familiar with frameworks like Swig and Angular that can handle this, I'm hoping for a method that integrates the index.html file seamlessly using something like an #include directive.
Here's an example of what I'd like to achieve:
http://localhost:8000/#include/partials/feature.html
Currently, I can visit:
http://localhost:8000/partials/feature.html
- However, the CSS and JS files specified in index.html are not being loaded into the view