How to deploy the flow bite Hugo website ? #29
-
Hi there! I found no instructions in the README of the flowbite repo regarding developing/deploying the site itself (using Hugo). It will be nice if you can mention all the commands that one is supposed to run in order, in order to preview (or deploy) this Hugo website. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
Hey @sid-r-singh, You should first set the |
Beta Was this translation helpful? Give feedback.
-
I think I have a very similar question, but not necessarily about Hugo. I get the basic concept of grabbing the HTML snippets from the components site, and dropping them into your code. But I am not quite grasping the rest of the process. The underlying issue is that I am having a hard time wrapping my head around how Flowbite actually WORKS, and unfortunately the "docs" are no help. From what I understand, Flowbite is simply a collection of pre-built (HTML) components assembled using the default Tailwind utility classes, same as Tailwind UI. But if that were the case, then WHY is there an "install" at all? What is NPM actually "installing"? And WHY does it install a What am I missing?? 🤔 A video or tutorial showing the entire process from start to finish would be extremely helpful, including a detailed explanation of the Flowbite methodology and workflow. So would complete docs. 🙃 Or at least a simple code snippet at the end of Getting Started to verify your installation by loading a sample component in the browser. A "Next Steps" section would be even nicer! Because right now I have no idea what to do next, what to look for, or if everything is even "installed correctly" or not. The docs just feel half-baked, and kind of leave you hanging to fend for yourself. 😟 Sorry for so many questions! I really hope I am not the only one wondering these things. |
Beta Was this translation helpful? Give feedback.
-
Hey @PwrSrg, Thanks for the comment and the feedback. The plugin is used to apply some styles to pseudo elements like the forms so the HTML doesn't get too bloated. It is also used to apply some extra utility classes on top of the default ones provided by Tailwind CSS. The I'll review the onboarding flow on the documentation based on your recommendations. |
Beta Was this translation helpful? Give feedback.
Hey @sid-r-singh,
You should first set the
baseURL
fromconfig.yml
and then runnpm run build
and you'll find the files inside thegh_pages/
folder. We'll create a guide of working with the documentation itself with the release of v1.2.1.