Xing Han Lu

Results 135 comments of Xing Han Lu

To further expand on @emilhe's great answer, [DCC's source code](https://github.com/plotly/dash-core-components/tree/dev/src/components) organizes each component in a separate React.js file, and they are all imported/exported in [`src/index.js`](https://github.com/plotly/dash-core-components/blob/dev/src/index.js) so that they can be...

I believe you will get a faster response and better answers from the Dash community if you ask this in https://community.plotly.com/c/dash or StackOverflow. Sharing an entire reproduceable file or repo...

Hi! What OS do you use, and have you tried creating a fresh virtual environment and install cookiecutter there? I highly recommend taking a look at [this webinar](https://www.youtube.com/watch?v=wifoPPRgG_I).

An indirect solution I came across is to use the `pylance` extension that was released just a few days ago by the Microsoft team for VSCode. It seems to work...

Hi Mark, here's exactly what I did wrote in the terminal (Ubuntu), and I had no error: ``` $ cookiecutter https://github.com/plotly/dash-component-boilerplate.git project_name [my dash component]: project_shortname [my_dash_component]: component_name [MyDashComponent]: r_prefix...

Did you use `cookiecutter` to create your component, and made sure to be inside `path/to/your/project/xxx_frontend`? Note that there's a folder `xxx_frontend` and also `xxx_frontend/xxx_frontend` which can be confusing. I just...

How did you add jquery? have you run: ``` npm i jquery npm run build ```

Hi @nikushin, have you taken a look at the [webinar on creating components](https://www.youtube.com/watch?v=wifoPPRgG_I)? Aside: in general it's a good idea to ask questions about the docs or usage in the...

I tried running this with: - cookiecutter: 1.7.2 - npm: 6.14.10 - node: v14.15.4 - python: 3.9.1 - windows 10 I ran the cookiecutter: ``` C:\Users\xhlu\dev>cookiecutter https://github.com/plotly/dash-component-boilerplate.git ``` And didn't...

is `babel` === `@babel/core`? This is the package.json: https://github.com/plotly/dash-component-boilerplate/blob/542646e67b9fbedd5210000d4f5f6c16ea5b449a/%7B%7Bcookiecutter.project_shortname%7D%7D/package.json#L32-L37