Demo of setting up Svelte + Rollup.
To start your Phoenix server:
- Install dependencies with
mix deps.get
- Create and migrate your database with
mix ecto.setup
- Start Phoenix endpoint with
mix phx.server
, will build assets withrollup
Now you can visit localhost:4000
from your browser.
- Phoenix: http://www.phoenixframework.org/
- Svelte: https://svelte.dev
- Rollup: https://rollupjs.org