Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

ParticlesJS is not defined #1857

Copy link
Copy link
Open
Open
Copy link
@ghost

Description

Hello,
I've been trying to get particles js to work with vuepress.
On my config I have:

head: [
    ['script', {src: 'https://cdn.jsdelivr.net/npm/particles.js@2.0.0/particles.min.js'}]
]

It works when I run vuepress dev but as soon as I try to build with vuepress build I get the error saying ParticlesJS is not defined even though it is there and working.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.