init SlideLife
This commit is contained in:
@ -7,19 +7,19 @@
|
||||
# General application configuration
|
||||
import Config
|
||||
|
||||
config :modern_base,
|
||||
ecto_repos: [ModernBase.Repo],
|
||||
config :slide_life,
|
||||
ecto_repos: [SlideLife.Repo],
|
||||
generators: [timestamp_type: :utc_datetime]
|
||||
|
||||
# Configures the endpoint
|
||||
config :modern_base, ModernBaseWeb.Endpoint,
|
||||
config :slide_life, SlideLifeWeb.Endpoint,
|
||||
url: [host: "localhost"],
|
||||
adapter: Bandit.PhoenixAdapter,
|
||||
render_errors: [
|
||||
formats: [html: ModernBaseWeb.ErrorHTML, json: ModernBaseWeb.ErrorJSON],
|
||||
formats: [html: SlideLifeWeb.ErrorHTML, json: SlideLifeWeb.ErrorJSON],
|
||||
layout: false
|
||||
],
|
||||
pubsub_server: ModernBase.PubSub,
|
||||
pubsub_server: SlideLife.PubSub,
|
||||
live_view: [signing_salt: "UVlXhkXp"]
|
||||
|
||||
# Configures the mailer
|
||||
@ -29,12 +29,12 @@ config :modern_base, ModernBaseWeb.Endpoint,
|
||||
#
|
||||
# For production it's recommended to configure a different adapter
|
||||
# at the `config/runtime.exs`.
|
||||
config :modern_base, ModernBase.Mailer, adapter: Swoosh.Adapters.Local
|
||||
config :slide_life, SlideLife.Mailer, adapter: Swoosh.Adapters.Local
|
||||
|
||||
# Configure esbuild (the version is required)
|
||||
config :esbuild,
|
||||
version: "0.17.11",
|
||||
modern_base: [
|
||||
slide_life: [
|
||||
args:
|
||||
~w(js/app.js --bundle --target=es2017 --outdir=../priv/static/assets --external:/fonts/* --external:/images/*),
|
||||
cd: Path.expand("../assets", __DIR__),
|
||||
@ -44,7 +44,7 @@ config :esbuild,
|
||||
# Configure tailwind (the version is required)
|
||||
config :tailwind,
|
||||
version: "3.4.0",
|
||||
modern_base: [
|
||||
slide_life: [
|
||||
args: ~w(
|
||||
--config=tailwind.config.js
|
||||
--input=css/app.css
|
||||
|
Reference in New Issue
Block a user