How to integrate this into a project generated with kotlin multiplatform wizard? #704
-
I created a project repo with https://kmp.jetbrains.com/ this app that I am working is https://github.com/empiresec-co/latent you can see the project structure, directories, and how code is bifurcated into UI and biz logic, and then target platform custom code etc. so I was wondering what is the most optimal way to integrate kobweb? and possibly tailwind and shadCN. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
You essentially want to create a Adding Kobweb to an existing project requires a little bit of manual work at the moment. I wrote up a post about how to do it here: https://kobweb.varabyte.com/docs/guides/existing-project It's not too crazy -- the most annoying part is making sure a valid |
Beta Was this translation helpful? Give feedback.
-
sorry for being a lazy bum but any guidance on how to add tailwind-js and shadCN? |
Beta Was this translation helpful? Give feedback.
You essentially want to create a
site
subfolder, which is where your Kobweb module will live.Adding Kobweb to an existing project requires a little bit of manual work at the moment. I wrote up a post about how to do it here:
https://kobweb.varabyte.com/docs/guides/existing-project
It's not too crazy -- the most annoying part is making sure a valid
.kobweb/conf.yaml
file exists in your new project. (This is actually something we're hoping to revisit soon with https://github.com/varabyte/kobweb/issues/702)