Skip to content

Plugins declared in config.js do not work #2033

Closed
@Buydens

Description

@Buydens
  • I confirm that this is an issue rather than a question.

Bug report

Running yarn dev or yarn build will throw a warning:
warning An error was encounted in plugin "@vuepress/plugin-back-to-top"

When running dev server or after building, none of the plugins work.
And neither of both work.

Steps to reproduce

I simply ran yarn create vuepress and selected the Doc theme preset.

What is expected?

For the plugins to work when added via Yarn and added in the config.js

What is actually happening?

There are two plugins added in config.js:
plugins: [ '@vuepress/plugin-back-to-top', '@vuepress/plugin-medium-zoom', ]

None of these work, both have the same warning when running yarn dev or yarn build.

Other relevant information

I used to run my Vuepress but kept getting these errors, then I decided to use this boilerplate but the issues continue.

Pretty novice in Vuepress but I just followed the documentation and I can't find a way to see what activates these warning.

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