Closed dehboris closed 8 years ago
window.Vue
is the same as Vue
without setting the scope explicitly. Not sure what motivated me to put the window. on it.. maybe just trying to be more explicit.
require('vue')
and import due from Vue
are the same, but the first is Browserify and the second is ES2015. Just two different loading standards.
I would like to understand why you used
windows.Vue
. And what is the difference betweenwindows.Vue = require('vue')
andimport view from ' View'