Skip to content

Files from static folder not found in dev #1141

Closed
@goowikns

Description

@goowikns

I seem to be having an issue where in dev mode my static files are not found.

To recap:

  • Vue-cli version: 2.9.1 (seems to include assetsPublicPath: '/', which seem to be an issue in previous vue versions)
  • files under static folder not found during npm run dev
  • within index.html I have following path: <script src="/static/scriptname.js"></script>

The built version does work!

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