Use Vue.js on a CDN (only copy and paste!)

Vue.js allows you to easily perform various actions and events!

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

Use Vue.js on a CDN (only copy and paste!)
Copy and paste test with RSpec
There is a copy / paste programmer-look at someone and look back at me
[Copy and paste] Build a Laravel development environment with Docker Compose Part 2
[Copy and paste] Build a Laravel development environment with Docker Compose Participation
A memorandum on how to use Eclipse
[Rails] Use validation on a specific controller
Use Stream # collect to retrieve and list only specific fields from a JavaBean list
[For copy and paste] Test functions for Result [XCTest]
Build a DHCP and NAT router on Ubuntu 16.04
[Rails] [Docker] Copy and paste is OK! How to build a Rails development environment with Docker
How to create a header or footer once and use it on another page