BoltDoggy / parcel-plugin-vue

⚠️ parcel-bundler/parcel @1.7.0 support Vue Now. This plugin will be not recommended.
https://github.com/parcel-bundler/parcel
209 stars 15 forks source link

Problem while importing modules #9

Closed samundrak closed 6 years ago

samundrak commented 6 years ago

There seems some problem while importing node modules in .vue file. i imported a small module and there was some error on console like module id 15 not found though importing module on react app was working well. Also importing css in js file was throwing error

BoltDoggy commented 6 years ago

@samundrak You should show your all code or repo url.

samundrak commented 6 years ago

This is my repo https://github.com/samundrak/parceljs-example-vue-and-reactjs. You can import module inside SFC script section. can try with import uuid from 'uuid'

BoltDoggy commented 6 years ago

@samundrak Waiting for https://github.com/parcel-bundler/parcel/issues/294

The reason is your react.html or children bundled the 'uuid'.

If vue.html only, it's normal.