-
Notifications
You must be signed in to change notification settings - Fork 36
Server Side Coding Guide
Darren Siegel edited this page Nov 1, 2021
·
2 revisions
This project uses the default Elixir code formatting rules through running mix format
. To enable auto-format on save, install the ElixirLS plugin for your code editor and add a configuration option. For Visual Studio Code, you can do this by opening the config file with cmd+p
, typing > Open Settings
, and adding this line:
"editor.formatOnSave": true
User interface code can be implemented using either traditional, stateless controller rendered templated views or with stateful Phoenix LiveView implementations. For Phoenix LiveView implemented user interfaces, all new views and components should be implemented using the Surface library.