Skip to content

Setup vue js inside phoenix 1.6 app using webpack 5

Notifications You must be signed in to change notification settings

danielvkp/phoenix-and-vue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Phoenix 1.6 and Vue - WebPack 5

  • Install dependencies with mix deps.get
  • Install NPM cd assets and run npm i

To start your Phoenix server:

  • Create and migrate your database with mix ecto.setup
  • Run migration mix ecto.migrate
  • Seed data for users table mix run priv/repo/seeds.exs
  • Start Phoenix endpoint with mix phx.server or inside IEx with iex -S mix phx.server

Now you can visit localhost:4000 from your browser.