Skip to content

HTML files in subfolders do not get styles / scripts. #46

Open
@Andrew1431

Description

@Andrew1431

Describe the bug
In your documentation, it clearly states:

You may add as many html pages as you’d like to the root level directory, they will automatically be copied and minified into the dist/ folder upon building your site.

So I don't know if this a bug report or a feature request:

I want users to be able to visit website.com/survey instead of survey.html so I've put a survey/index.html file there. It works technically, I see the HTML, but it is not receiving any of the styles or javascript code injection.

To Reproduce
Steps to reproduce the behavior:

  1. Create a subfolder for HTML (Very standard operation I assume?)
  2. HTML inside there will load but it will not get the webpack injections or live reload.

Expected behavior
I expect to be able to nest my HTML for cleaner URLs

Desktop (please complete the following information):
Platform Agnostic

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions