Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork245
Closed
Labels
Description
Version
2.0.0-alpha.1
Platform and OS info
All
Steps to reproduce
From amain.ts
file, with correct dependencies tonativescript-vue
in thepackages.json
:
import Vue from 'nativescript-vue'
What is expected?
Import the Vue instance
What is actually happening?
Vue = undefined
The problem
Thedist/index.js
file, generated by rollup, does not export a default element. The last line is:
module.exports = Vue
But it would need something like:
module.export = { Vue: Vue, default: Vue}
It seems a config issue or a rollup limitation.