[Vuejs]-Rollup bundles correctly but Vue is undefined

0👍

I fixed it. It wasn’t working when I ran vue through rollup to just move the file, rename it, and output it via this code:

//rollup.config.vendors.js (bundles vuejs)

export default {
  entry: 'node_modules/vue/dist/vue.min.js',
  dest: 'vuejs/vendors.min.js',
  format: 'iife'
}

Leave a comment