Skip to content

builds don't work out of the box if they are not placed in the root of a server #4

@wayfu

Description

@wayfu

the current build process sets the location of main.js to "/main.js", i recommend adding the following to the config in vite.config.js: base: "./". that way the path is set relative to the location of index.html, and you can upload it to a subdirectory on your web server

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