Skip to content

Unable to replicate example #1

@georges-hatem

Description

@georges-hatem

Hello,

I have been trying to mimick the examples provided in the code, but a few things I was unable to get working:

  1. the icons are not being loaded: in the Treeview component, I added a simple import of the CSS files (all combinations of the common file, the react fancy tree file, and the lion theme file).
    It seems the CSS is being loaded correctly as it complains that the path to the icons.gif is incorrect (I need to specify the full path instead of the relative path).
    I also had to add a file loader for gif files in the webpack config.
    The errors go away, but icons still don't show up.

  2. I also had to manually disable drag n drop as it caused "cannot call function add of undefined", though I'm not sure what is causing that.

Any ideas? Thanks very much

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions