Why using Vue CLI instead of the CDN package

Ryo Yamamoto
Feb 11, 2021

First of all, I face this problem when I was trying to implement Vue.js as a frontend for my Django project. So I hope this will help people who are trying to create Django(backend) Vue.js(frontend) app.

If you are totally new to Vue.js, I recommend starting from using CDN, because it’s easy to implement so that you can learn by writing code. But the reason why I prefer to use Vue CLI is that there are many features you can use Vue.js provides, and CDN can’t do that.

Good features you can use in Vue CLI

  1. Single File Component(SFC)
  2. Hot Module Replacement(HMR)
  3. Router

--

--