I think the easiest way to introduce Vue.js is to use ** CDN (Content Delivery Network) **.
** What is a CDN (Content Delivery Network) **
A CDN is simply a quick and easy way to use your content (Vue.js here).
: point_down: Click here for more information: point_down: ・ [Https://business.ntt-east.co.jp/content/cloudsolution/column-66.html] ・ "Htps: // ww. Kagoya. Jp / hot / neto rk / cdn /"
Let's actually implement it (only copy and paste!)
To make Vue.js available on any page, just insert the CDN into the
and you're good to go! Or just insert it into an html page that uses Vue.js!application.html
<head>
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
</head>
<body>
</body>
: sunny: That's it! It's super easy! : sunny:
The above CDN adopts the latest version of Vue.js every time
: warning: Note: warning:
In the actual development site, the version is often fixed to avoid bugs and errors! : point_right_tone2: For production development, we recommend a CDN with a specified version.
application.html
<head>
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
</head>
<body>
</body>
Googling the Vue.js CDN ↓ [https://jp.vuejs.org/v2/guide/installation.html]
Recommended Posts