'$' is not defined vue js code example
Example 1: Vue is not defined
<script src="https://cdnjs.cloudflare.com/ajax/libs/vue/1.0.18/vue.min.js"></script>
Example 2: 'Vue' is not defined
import Vue from 'vue'
<script src="https://cdnjs.cloudflare.com/ajax/libs/vue/1.0.18/vue.min.js"></script>
import Vue from 'vue'