Phoenix and LiveView
Install tuix_phoenix with Igniter, set four variables, and map your signed-in user.
You’ll need
- Elixir 1.15+
- Phoenix 1.7 or 1.8, LiveView 1.x
- Your project key and signing key
Transcript
1. Install with Igniter
2. Set the environment
3. Map your signed-in user
- The generated module matches current_scope.user. Adapt it to your app.
- Return nil for signed-out people. The package signs the identity for you.
- Pass your authenticated scope to Layouts.app in controllers and LiveViews.
- Hosted delivery is the default and keeps the widget up to date.
- Your project’s exact commands are under Install tuix → Phoenix.