Skip to content

axzilla/templui-quickstart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

templUI Quickstart

Get started with templUI, an enterprise-ready UI component library for Go and templ. This template provides a pre-configured setup for building professional web applications with templUI components.

Installation

For installation instructions, visit our documentation.

Setup

  1. Clone the Repository

    git clone /~https://github.com/axzilla/templui-quickstart.git
    cd templui-quickstart
  2. Install Dependencies

    go mod tidy
  3. Configure Tailwind Since we're using templUI as a package, you need to configure Tailwind to process its components:

    a. Get your Go path:

    go env GOPATH

    b. Add the path to your assets/css/input.css content array:

    @source "${GOPATH}/pkg/mod/github.com/axzilla/templui@*/**/*.{go,templ}";

Development

Start the development server with hot reload:

make dev

Your application will be running at http://localhost:7331

Deployment

This template includes a production-ready Dockerfile for easy deployment:

# Build the image
docker build -t templui-app .

# Run the container
docker run -p 8090:8090 templui-app

Your application will be available at http://localhost:8090

Contributing

Issues and pull requests are welcome! Please read our contributing guidelines before submitting a pull request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

Quickstart for templUI - The UI Toolkit for Go & Templ.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published