import from node modules vue code example
Example 1: import vue js
<script src="https://unpkg.com/vue"></script>
Example 2: import vue
import Vue from 'vue'
<script src="https://unpkg.com/vue"></script>
import Vue from 'vue'