Move Inviqa example from play.tailwindcss.com
This commit is contained in:
parent
217b9111ba
commit
73bf053c8e
8 changed files with 265 additions and 0 deletions
29
tailwindcss/inviqa/flake.nix
Normal file
29
tailwindcss/inviqa/flake.nix
Normal 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
|
||||
'';
|
||||
})
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue