-
Notifications
You must be signed in to change notification settings - Fork 225
Update components build tools. #93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thanks for submitting this! @tcbegley -- I'm happy to look at this since I put some of the initial infrastructure in place. |
@T4rk1n Under what conditions do At the moment, we don't publish dash_bootstrap_components to NPM, so having a link to unpkg seems a bit meaningless. While we do want to publish to NPM, I think we will probably publish a bundle that is optimized for building additional JS components, not as a faithful representation of the current bundle. |
They are optional keys.
So if you don't want to publish on npm just don't include the |
Perfect, thank you for the explanation. I suggest we try to include a dev bundle, probably as a new PR separate to #94. |
Install dash>=0.31.1 then add this command to
package.json
:Dash must be installed on the current environment when you run the command. Or you can make sure the environment is activated with this, assuming you have a venv directory in the project root:
(. venv/bin/activate || venv\\scripts\\activate && dash-generate-components ./src/lib/components dash_bootstap_components)
Then change
dash_bootstrap_components/__init__.py
to:Please commit all the files generated (
metadata.json
,_imports_.py
, bundles).The text was updated successfully, but these errors were encountered: