Introduction
Hey, DEV friends! 😉
Since v1.9.0
release, the Gowebly CLI includes support for Bootstrap and Bulma CSS frameworks.
Let's take a closer look.
📝 Table of contents
What is Bootstrap?
Powerful, extensible, and feature-packed frontend toolkit. Build and customize with Sass, utilize prebuilt grid system and components, and bring projects to life with powerful JavaScript plugins.
What is Bulma?
The modern CSS framework that just works. Free & open source framework that provides ready-to-use frontend components that you can easily combine to build responsive web interfaces. No CSS knowledge required.
How to use new CSS frameworks with Gowebly CLI?
The first thing you should do is verify that you are using Gowebly CLI version v1.9.0
or higher.
Next, start creating the configuration file:
gowebly init
The CLI will generate a .gowebly.yml
file with the following config:
backend:
module_name: project
go_framework: default
template_engine: default
port: 7000
timeout:
read: 5
write: 10
frontend:
package_name: project
css_framework: default
runtime_environment: default
htmx: latest
hyperscript: latest
Now, just switch the css_framework
option in the frontend
block to bootstrap
or bulma
.
Now, start creating a project:
gowebly create
And Gowebly CLI create a new project with the selected CSS framework.
It works! 💥
Photos and videos by
- Vic Shóstak https://github.com/koddr
- Bootstrap https://getbootstrap.com
- Bulma https://bulma.io
P.S.
If you want more articles (like this) on this blog, then post a comment below and subscribe to me. Thanks! 😻
❗️ You can support me on Boosty, both on a permanent and on a one-time basis. All proceeds from this way will go to support my OSS projects and will energize me to create new products and articles for the community.
And of course, you can help me make developers' lives even better! Just connect to one of my projects as a contributor. It's easy!
My main projects that need your help (and stars) 👇
- 🔥 gowebly: A next-generation CLI tool that makes it easy to create amazing web applications with Go on the backend, using htmx, hyperscript or Alpine.js and the most popular CSS frameworks on the frontend.
- ✨ create-go-app: Create a new production-ready project with Go backend, frontend and deploy automation by running one CLI command.
Top comments (0)