Skip to content

Vue

Certification Prep

Project Quick Start

QUICK STARTUP:

  • new folder in dev
  • make git repo
  • clone into git repo
  • navigate into git repo folder
  • vue create vue_<<proj name>>
  • use vue-quick-start preset
  • move .git into created vue project
  • update file structure from there
  • tear down vue default and start designing

Single Page Apps (SPAs)

Dominant pattern for web apps that take advantage of JS front-end frameworks like Vue and React.

Components

  • use v-if over v-show, this will keep the component out of the dom unless needed
  • use <a> tags over :href props