mattstauffer / suggestive

Suggestive - take suggestions from the fans/followers of your podcast or blog
MIT License
98 stars 26 forks source link

Question #15

Closed dehboris closed 8 years ago

dehboris commented 8 years ago

I would like to understand why you used windows.Vue. And what is the difference between windows.Vue = require('vue') and import view from ' View'

mattstauffer commented 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.