Skip to content

Frontend development & deployment

Mich Riendeau edited this page Nov 18, 2019 · 2 revisions

Approach taken

  • Follow religiously the tutorial notes to install vue.js and to code the frontend.
  • Use the same convention throughout the code for an easy understanding.

Structure of Vue files

  • template
  • script
  • style

To build the frontend locally

  • npm install
  • npm run dev

Calling the backend using AXIOS

  • import & configure AXIOS
  • Use AXIOS.post & AXIOS.get to interact with backend