idea-vite-tailwind-twig-builder Tailwind Templates

Idea Vite Tailwind Twig Builder

vite-tailwind-builder

web appq builder with Vite, Twig, PostCSS, Tailwind and the ES6 modules.

Contains

  • SVG-Sprite functionality
  • Image optimization features
  • Creating HTML files to match your TWIG files, and prettify after build
  • TWIG data from .json files
  • Laravel Vite plugin for blade files hot reload
  • .gitlab-ci.yml file for building on branch pages
  • Tailwind CSS framework
  • PostCSS with nesting, imports and color functions
  • Eslint for js code analyze

Requirements

  • node : >=18
  • pnpm (or equivalent)

Installation

$ pnpm install

Usage

Development

Start a local development server with hot reload:

$ pnpm dev

All development files are located under src/

Production

Build all assets for production :

$ pnpm build

All build files are located under static/build/

Configuration

Edit the vite.config.mts

Vite

For more information you can refer to vitejs/vite

Images

For more information you can refer to vite-plugin-imagemin

SVG Sprites

For more information you can refer to vite-plugin-svg-icons

TWIG

For more information you can refer to vite-plugin-twig

Laravel

For more information you can refer to laravel-vite-plugin

Tailwindcss

For more information you can refer to tailwindcss

PostCSS

For more PostCSS plugins or configurations you can refer to PostCSS parts

Top categories

Loading Svelte Themes