This is a CLJSJS package for using NProgress within your ClojureScript projects.
Add the dependency to your build.boot
or project.clj
file:
[cljsjs/nprogress "0.2.0-1"] ;; latest release
This jar comes with deps.cljs
as used by the [Foreign Libs][flibs] feature
of the ClojureScript compiler. After adding the above dependency to your project
you can require the packaged library like so:
(ns application.core
(:require cljsjs.nprogress))
This package contains a CSS file, /cljsjs/nprogress/common/nprogress.css
, which you must also load in order to use NProgress:
Refer to the wiki to learn how to include this file in your project.
Unfortunately I haven't found a decent way to incorporate non-JS assets from CLJSJS packages in Leinigen projects. As such, I recommend manually copying the nprogress.css
file and referencing it in your html.
NProgress Authour: NProgress is designed by Rico Sta Cruz.
CLJSJS Package Maintainers: