Skip to content

Latest commit

 

History

History
53 lines (38 loc) · 1.29 KB

README.md

File metadata and controls

53 lines (38 loc) · 1.29 KB
title keywords description
Template Asset Bundling
template
tailwindcss
parcel
Setting up a Go application with template rendering and asset bundling.

Template Asset Bundling

Github StackBlitz

This is a quick example of how to do asset bundling using gofiber/template, Tailwind CSS, and Parcel.

Prerequisites

Ensure you have the following installed:

  • Golang
  • Node.js
  • npm

Setup

  1. Clone the repository:

    git clone https://github.com/gofiber/recipes.git
    cd recipes/template-asset-bundling
  2. Install dependencies:

    npm install

Usage

Building Assets

  1. Build the assets:

    npm run build
  2. Watch assets for changes:

    npm run dev

Running the Application

  1. Start the Fiber application:
    go run main.go