title | keywords | description | |||
---|---|---|---|---|---|
Template Asset Bundling |
|
Setting up a Go application with template rendering and asset bundling. |
This is a quick example of how to do asset bundling using gofiber/template, Tailwind CSS, and Parcel.
Ensure you have the following installed:
- Golang
- Node.js
- npm
-
Clone the repository:
git clone https://github.com/gofiber/recipes.git cd recipes/template-asset-bundling
-
Install dependencies:
npm install
-
Build the assets:
npm run build
-
Watch assets for changes:
npm run dev
- Start the Fiber application:
go run main.go