hakimel / Ladda

Buttons with built-in loading indicators.

Home Page:http://lab.hakim.se/ladda/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Where is the "dist" folder?

nmg196 opened this issue · comments

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?

commented

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.

@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.