Skip to content
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

Where is the "dist" folder? #101

Open
nmg196 opened this issue Aug 19, 2020 · 3 comments
Open

Where is the "dist" folder? #101

nmg196 opened this issue Aug 19, 2020 · 3 comments

Comments

@nmg196
Copy link

nmg196 commented Aug 19, 2020

I'm tyring to download Ladda for inclusing in my .NET Core project. Where actually is the "Dist" folder the docs refer to? I can't seem to find the CSS file.

EDIT: It seems ladda only works if you're using Node. Is there any way to use it without the Node.js requirement?

@chiahao
Copy link

chiahao commented Jan 14, 2021

Having same question.
I tried to download the 2.0.1 version, and run npm install in the folder path.
Although it did produce the dist folder which contains

ladda-themeless.min.css
ladda.min.css

But the js files didn't apply uglify to minify the file.
And I don't know what to do with the TypeScript file: ladda.d.ts

Any help?
Thank you.

@theodorejb
Copy link
Collaborator

theodorejb commented Jan 14, 2021

@chiahao To use Ladda run npm install ladda from the root folder of your project. The JavaScript module isn't minified out of the box. Feel free to minify it yourself as part of the bundling/minification pipeline in your own project.

You shouldn't have to do anything with the ladda.d.ts file - it's there to provide type declarations if you import the module in a TypeScript file.

@oCyex
Copy link

oCyex commented Sep 25, 2021

Maybe it works if you grab it In the source code ?

https://lab.hakim.se/ladda/dist/ladda.min.js
https://lab.hakim.se/ladda/dist/spin.min.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants