get typescript working, alpinejs working, add flowbite ui framework, update dockerfile to install npm dependencies

This commit is contained in:
2024-09-02 21:46:40 -04:00
parent f5c2b7d67e
commit 13c9ada901
16 changed files with 670 additions and 260 deletions

View File

@@ -36,7 +36,7 @@ config :esbuild,
version: "0.17.11",
quip: [
args:
~w(js/app.js --bundle --target=es2017 --outdir=../priv/static/assets --external:/fonts/* --external:/images/*),
~w(js/app.ts --bundle --target=es2017 --outdir=../priv/static/assets --external:/fonts/* --external:/images/*),
cd: Path.expand("../assets", __DIR__),
env: %{"NODE_PATH" => Path.expand("../deps", __DIR__)}
]

View File

@@ -23,7 +23,8 @@ config :quip, QuipWeb.Endpoint,
secret_key_base: "l4+6blY1rcppRaUjqSzQBM2ZZBfVwIobcktDvsq1eYMd+sMjaRhY0uSdI2qDTUlL",
watchers: [
esbuild: {Esbuild, :install_and_run, [:quip, ~w(--sourcemap=inline --watch)]},
tailwind: {Tailwind, :install_and_run, [:quip, ~w(--watch)]}
tailwind: {Tailwind, :install_and_run, [:quip, ~w(--watch)]},
npm: ["--prefix", "assets", "run", "typecheck", "--", "--watch"]
]
# ## SSL Support