Hi, I'm new to duct framework. How do you serve files from public
directory ? I've downloaded semantic-ui
files under public/semantic-ui
, but when i include them using include-css "semantic-ui/semantic.js"
..i get a resource not found,'
sorry that should have read include-css "semantic-ui/semantic.css"
i've include "public"
in project.clj
under resource-paths
First, you need to remove this part.
i see..let me try
Then your public directory is in resources/your-app-name/public
i see... so it's not under the project root directory ?
Not directly, no. It’s in the project resources.
If you print out your config in the REPL, it should tell you.
BTW, thank you so much for this framework..although I've just been trying it out for a day, I love the way it's structured 👍:skin-tone-3: