Skip to content
This repository was archived by the owner on Mar 4, 2020. It is now read-only.
This repository was archived by the owner on Mar 4, 2020. It is now read-only.

webpack could use a default index.html #30

@dt665m

Description

@dt665m

Seems like there is a prebuilt docs folder with an index.html but the default webpack settings, as is, doesn't load or copy an index.html properly to the served /dist folder. Cloning the repo as of b83b699 or using substrate-ui-new and running the instructions in the Readme doesn't yield a running example. The webpack dev server will respond with a "Cannot /Get" on localhost:8000.

Is this project taking PRs? My suggested fix would be to include the index.html in the root folder of the project and add "html-webpack-plugin" as a dev dependency to automatically move the file upon dev server start. This is what I have done on my side.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions