Skip to content

Why do you add node_modules to static #1901

Discussion options

You must be logged in to vote

Hi! Most likely (since I cannot open my django project for some reason) it was added because django didn't want to import the css and js files of the tw-elements package, so if it's working for you without adding node_modules to static then it's fine.

We also have cdns for our package, so you can try using them aswell in your app:
https://cdn.jsdelivr.net/npm/tw-elements/dist/js/tw-elements.umd.min.js
https://cdn.jsdelivr.net/npm/tw-elements/dist/css/tw-elements.min.css

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by filipkappa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants