Skip to content

A skeleton project for Jigsaw, Laravel Mix, Tailwind CSS, and TypeScript

Notifications You must be signed in to change notification settings

tschach/jigsaw-laravelmix-tailwindcss-typescript

Repository files navigation

Jigsaw + Laravel Mix + Tailwind CSS + TypeScript

A skeleton project for Jigsaw (PHP static site generator), Laravel Mix (Webpack asset manager), Tailwind CSS (functional CSS framework) and TypeScript (strongly-typed JavaScript superset)

You can use this repository to kickstart your own static site with this JAM stack or use it to troubleshoot your own take on setting it up. If you run into any problems, please get in touch with me or open an issue. Also feel free to just say Hi! 😃

I am preparing an article on the details of creating this stack from scratch. Stay tuned and come back here or subscribe to the issue to get notified.

Prerequisites

I have used the following versions of these tools on an Ubuntu 16.04 32-bit machine:

  • 7.2.12 (PHP)
  • 1.8.0 (Composer)
  • 8.14.0 (Node.js; at the time of writing I am stuck with the deprecated version 8 of Node.js since pre-compiled 32-bit binaries for Linux are not offered anymore)
  • 6.4.1 (npm)

Last updated: 7 December 2018

Clone the repository...

$ git clone [email protected]:tschach/jigsaw-laravelmix-tailwindcss-typescript.git

...or donwnload the ZIP file

$ wget https://github.com/tschach/jigsaw-laravelmix-tailwindcss-typescript/archive/master.zip && unzip master.zip && mv jigsaw-laravelmix-tailwindcss-typescript-master jigsaw-laravelmix-tailwindcss-typescript && rm master.zip

Change to project directory

$ cd ./jigsaw-laravelmix-tailwindcss-typescript

Install dependencies (Composer and npm):

$ composer install && npm install

Build & preview

$ npm run watch

Read more on Building and Previewing Jigsaw projects

Enjoy and have fun!

Jigsaw is a MIT licensed PHP static site generator based on Laravel and using Blade for templating.
🏠 http://jigsaw.tighten.co/
:octocat: https://github.com/tightenco/jigsaw

Laravel Mix is a MIT licensed asset manager, compiler and bundler wrapped around Webpack.
🏠 https://laravel-mix.com/
:octocat: https://github.com/JeffreyWay/laravel-mix

Tailwind CSS is a MIT licensed utility-first CSS framework.
🏠 https://tailwindcss.com/
:octocat: https://github.com/tailwindcss/tailwindcss

TypeScript is an Apache licensed superset of JavaScript with static types and other ECMAScript 2015 features.
🏠 https://www.typescriptlang.org/
:octocat: https://github.com/Microsoft/TypeScript

About

A skeleton project for Jigsaw, Laravel Mix, Tailwind CSS, and TypeScript

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published