get typescript working, alpinejs working, add flowbite ui framework, update dockerfile to install npm dependencies
This commit is contained in:
@@ -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__)}
|
||||
]
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user