[add] vue
This commit is contained in:
		
							
								
								
									
										20877
									
								
								lib/vue.js
									
									
									
									
									
								
							
							
						
						
									
										20877
									
								
								lib/vue.js
									
									
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							| @@ -1,5 +1,6 @@ | ||||
| const PACKAGE_NAME = "uuidconvert"; | ||||
| const fs = require("fs"); | ||||
| const vue = Editor.require(`packages://${PACKAGE_NAME}/lib/vue.js`); | ||||
|  | ||||
| Editor.Panel.extend({ | ||||
|     style: fs.readFileSync(Editor.url(`packages://${PACKAGE_NAME}/static/style/default/index.css`), 'utf-8') | ||||
| @@ -13,7 +14,7 @@ Editor.Panel.extend({ | ||||
|     }, | ||||
|  | ||||
|     ready() { | ||||
|         this.app = new Vue({ | ||||
|         this.app = new vue({ | ||||
|             el: this.$app, | ||||
|             created: function () { | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user