Skip to content

Doesn't work with ESM #787

@Trojaner

Description

@Trojaner

Version

4.0.4

Reproduction link

https://plnkr.co/edit/0TYlxtktHJ1MszrL

Steps to reproduce

  1. Open repro link
  2. Observe error in console

What is expected?

App should show and not generate an error

What is actually happening?

vue.esm-browser.prod.js?module:1 TypeError: Cannot read property 'parent' of null
    at warnDeprecatedUsage (vue-router.esm.js?module:2152)
    at setup (vue-router.esm.js?module:2071)
    at kt (vue.esm-browser.prod.js?module:1)
    at vue.esm-browser.prod.js?module:1
    at vue.esm-browser.prod.js?module:1
    at B (vue.esm-browser.prod.js?module:1)
    at O (vue.esm-browser.prod.js?module:1)
    at b (vue.esm-browser.prod.js?module:1)
    at E (vue.esm-browser.prod.js?module:1)
    at T (vue.esm-browser.prod.js?module:1)


Tested with es-module-shims and Chrome's own ESM implementation, both resulted in the same error

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