PhxCustom v1.0.0 mix phx.custom.web View Source

Patch project with custom assets and templates.

mix phx.custom.web <project> [options]

This task provides following features:

  • enhanced assets pipeline:

    • built-in tailwindcss support
    • source map support for JavaScript and CSS
  • separation for app and admin:

    • standalone frontend resources for app and admin
    • standalone namespaces for app and admin views

What is the meaning of app or admin? Generally, a web application consists of two sub applications, one for users , one for administrators. In the context of phx_custom, the code for users is called app, the code for administrators is called admin.

options

  • --update - update webpack config for patched projects.

Link to this section Summary

Link to this section Functions