@uiltjesrups has joined the channel
@dionysius.almeida has joined the channel
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 ππΌ
sorry for being a noob, but how do i print the config ?
(prn config)
In your dev namespace, I should add.
thank you π
yes ..i am in dev namespace
thank you again for being so prompt
I think there might be a pprint as well which formats it better.
yes.i have included clojure.pprint
for debugging purposes
You may need to (prep) the config first, or just run (go).
thank you
The config var holds the configuration after all the modules have been applied, so you can see exactly how itβs configured.
that's great .. now i can see all config variables being pulled
didn't know that.
it's working now.. cheers ππΌ
np