template-asset-bundling

command module
v0.0.0-...-e580e67 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 6, 2024 License: MIT Imports: 9 Imported by: 0

README


title: Template Asset Bundling keywords: [template, tailwindcss, parcel] description: 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
    

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL