David-Desmaisons / Vue.D3.tree

Vue component to display tree based on D3.js layout.
https://david-desmaisons.github.io/Vue.D3.tree/tree
MIT License
877 stars 136 forks source link

vued3tree import crash program without warnings #7

Closed Claus1 closed 7 years ago

Claus1 commented 7 years ago

Steps to reproduce

take tree example demo compile it with newest vue version. See a blank page with no warnings.

Versions

webpack 2.6.1 vue 2.4.2 vued3tree@3.4.2 vuetify 0.15.3 Firefox 55.0.3 win 7

In my program string

import {tree} from 'vued3tree'

causes a blank page with no warnings after recompiling.

Using sources in programs changes nothing. All dependencies in Tree.vue are resolved correctly. But can not import Tree.vue or vued3tree correctly.

David-Desmaisons commented 7 years ago

Hello @Claus1 , I am not sure if I understand what you mean by "crash program". Is webpack build failing? If so what are corresponding traces?

Claus1 commented 7 years ago

Hello David! Building is ok. it does not work in browser. There are no corresponding traces. Just "import {tree} from 'vued3tree' " in any .vue file and a program show blank page with no warnings. With Chrome the same story but in the left bottom corner it shows '1 error' but impossible to get any additional info from there. Firefox shows just blank page and info about vue is running in dev mode.
Loading module error but why? All submodules are loading correctly.

David-Desmaisons commented 7 years ago

I guess the best is to share the repo where you have this problem so I can take a look at it

Claus1 commented 7 years ago

Agreed. Pls install project https://github.com/vuetifyjs/webpack, install vued3tree, and run it (run dev). in file App.vue in script section after Githubissues.

  • Githubissues is a development platform for aggregating issues.