How to Set up Vue.js with Phoenix 1.4
Nov 5 · 2 min read

Start by creating a new Phoenix project. We use the --no-ecto flag here, since we don’t need a database for the example.
$ mix phx.new vue_example --no-ectoThen cd into the new projects assets directory and install the dependencies we need:
$ cd vue_example/assets
$ npm install vue vue-loader vue-template-compiler --save-dev
