Skip to content

[Bug report] Can't use relative path for local theme #51

@bcorcoran

Description

@bcorcoran

I'm trying to create a Vuepress next site and running into a roadblock.

I can only specify a path to the local theme (<repo>/.vuepress/theme) by using an absolute path... this poses a problem because the path to the theme is different on my machine than another developer's.

Why doesn't this work in .vuepress/config.js?

module.exports = {
     theme: '.vuepress/theme',
}

or

module.exports = {
     theme: './theme',
}

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