Skip to content

Hosting from a subdirectory #189

@david-saint

Description

@david-saint

I'm trying to host a vue app on a subdirectory like https://my.site/folder/ but every time it tries looking for it in https;//my.site/dist/build.js.
Even when I changed the index.html to point to dist/build it finds the build file but nothing displays
I'm also using vue-router
I've checked online but all I keep seeing are to change config/index.js

export.module = {
...
assetsPublicPath: '/folder/'
...
}

but this is for the webpack template.

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