Skip to content
This repository was archived by the owner on Aug 7, 2021. It is now read-only.
This repository was archived by the owner on Aug 7, 2021. It is now read-only.

ERROR: VueRouter is not a constructor #872

Open
@zbranzov

Description

@zbranzov

Environment
Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):

Describe the bug
Trying to builds the app in 'samples' folder of https://github.com/nativescript-vue/nativescript-vue/tree/867e5f8f7f7433cb10d5445946c16a3b15161a49 using bundle flag cause the error above.

Expected behavior
Be able to build the app

Sample project
https://github.com/nativescript-vue/nativescript-vue/tree/867e5f8f7f7433cb10d5445946c16a3b15161a49/samples

Additional context
Adding mainFields: ['main', 'module'] to the webpack.config seems to fix it but in that case we should commit the file

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions