How to use Webpack and React with Phoenix 1.3
Check the How to use Webpack and React with Phoenix 1.3 article for more details.
Visit the live demo page deployed on Heroku.
Run on localhost
To start your Phoenix server:
- Install dependencies with
- Create and migrate your database with
mix ecto.create && mix ecto.migrate
- Install Node.js dependencies with
cd assets && npm install
- Start Phoenix endpoint with
Now you can visit
localhost:4000 from your browser.
Ready to run in production? Please check our deployment guides.