| 
									
										
										
										
											2016-07-26 14:25:17 +08:00
										 |  |  | try { | 
					
						
							|  |  |  |   var vueVersion = require('vue').version | 
					
						
							|  |  |  | } catch (e) {} | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | var packageName = require('./package.json').name | 
					
						
							|  |  |  | var packageVersion = require('./package.json').version | 
					
						
							|  |  |  | if (vueVersion && vueVersion !== packageVersion) { | 
					
						
							| 
									
										
										
										
											2019-03-20 13:13:14 +08:00
										 |  |  |   var vuePath = require.resolve('vue') | 
					
						
							|  |  |  |   var packagePath = require.resolve('./package.json') | 
					
						
							| 
									
										
										
										
											2016-07-26 14:25:17 +08:00
										 |  |  |   throw new Error( | 
					
						
							|  |  |  |     '\n\nVue packages version mismatch:\n\n' + | 
					
						
							| 
									
										
										
										
											2019-03-20 13:13:14 +08:00
										 |  |  |     '- vue@' + vueVersion + ' (' + vuePath + ')\n' + | 
					
						
							|  |  |  |     '- ' + packageName + '@' + packageVersion + ' (' + packagePath + ')\n\n' + | 
					
						
							| 
									
										
										
										
											2016-07-26 14:25:17 +08:00
										 |  |  |     'This may cause things to work incorrectly. Make sure to use the same version for both.\n' + | 
					
						
							| 
									
										
										
										
											2016-11-21 23:52:33 +08:00
										 |  |  |     'If you are using vue-loader@>=10.0, simply update vue-template-compiler.\n' + | 
					
						
							|  |  |  |     'If you are using vue-loader@<10.0 or vueify, re-installing vue-loader/vueify should bump ' + packageName + ' to the latest.\n' | 
					
						
							| 
									
										
										
										
											2016-07-26 14:25:17 +08:00
										 |  |  |   ) | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | module.exports = require('./build') |