duct

Danny Almeida 2020-02-09T23:52:33.014200Z

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,'

Danny Almeida 2020-02-09T23:54:11.014700Z

sorry that should have read include-css "semantic-ui/semantic.css"

Danny Almeida 2020-02-09T23:55:07.015400Z

i've include "public" in project.clj under resource-paths

2020-02-09T23:56:30.015500Z

First, you need to remove this part.

Danny Almeida 2020-02-09T23:56:57.015700Z

i see..let me try

2020-02-09T23:57:44.015900Z

Then your public directory is in resources/your-app-name/public

Danny Almeida 2020-02-09T23:58:48.016200Z

i see... so it's not under the project root directory ?

2020-02-09T23:59:16.016400Z

Not directly, no. It’s in the project resources.

2020-02-09T23:59:34.016600Z

If you print out your config in the REPL, it should tell you.

Danny Almeida 2020-02-09T23:59:42.016800Z

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: