Replies: 1 comment
-
No clue, sorry. Maybe Stackoverflow can answer it... |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there, thanks for such a great package!
I am trying to use fancytree on a stenciljs component.
I have first installed fancytree via npm.
Then I have included the ES6 quickstart suggestion in the component:
import { Component, Host, h } from "@stencil/core";
import $ from "jquery";
import "jquery.fancytree/dist/skin-lion/ui.fancytree.less"; // CSS or LESS
import { createTree } from "jquery.fancytree";
import "jquery.fancytree/dist/modules/jquery.fancytree.edit";
import "jquery.fancytree/dist/modules/jquery.fancytree.filter";
@component({
tag: "gxg-fancy-tree",
styleUrl: "gxg-fancy-tree.scss",
shadow: false,
})
export class GxgFancyTree {
render() {
return hola;
}
}
Then, when I try to run the application, I get the following error:
Unexpected character '@' (Note that you need plugins to import files that are not JavaScript)
Do you have an idea what I am missing?
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions