Move Inviqa example from play.tailwindcss.com

This commit is contained in:
Oliver Davies 2025-08-05 17:39:54 +01:00
parent 217b9111ba
commit 73bf053c8e
8 changed files with 265 additions and 0 deletions

View file

@ -0,0 +1,29 @@
{
inputs.nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
outputs = inputs:
let
system = "x86_64-linux";
pkgs = import inputs.nixpkgs { inherit system; };
in
{
devShells.${system}.default = pkgs.mkShell {
packages = with pkgs; [
(pkgs.writeShellApplication {
name = "serve";
runtimeInputs = with pkgs; [
simple-http-server
tailwindcss_3
];
text = ''
simple-http-server --index --nocache "$@" & \
tailwindcss --input input.css --output tailwind.css --watch & \
wait
'';
})
];
};
};
}