项目原始demo,不改动
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 
 
 

19 lines
732 B

  1. try {
  2. var vueVersion = require('vue').version
  3. } catch (e) {}
  4. var packageName = require('./package.json').name
  5. var packageVersion = require('./package.json').version
  6. if (vueVersion && vueVersion !== packageVersion) {
  7. throw new Error(
  8. '\n\nVue packages version mismatch:\n\n' +
  9. '- vue@' + vueVersion + '\n' +
  10. '- ' + packageName + '@' + packageVersion + '\n\n' +
  11. 'This may cause things to work incorrectly. Make sure to use the same version for both.\n' +
  12. 'If you are using vue-loader@>=10.0, simply update vue-template-compiler.\n' +
  13. 'If you are using vue-loader@<10.0 or vueify, re-installing vue-loader/vueify should bump ' + packageName + ' to the latest.\n'
  14. )
  15. }
  16. module.exports = require('./build')