[add] vue
This commit is contained in:
parent
0fb4ba3740
commit
e7255001be
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 PACKAGE_NAME = "uuidconvert";
|
||||||
const fs = require("fs");
|
const fs = require("fs");
|
||||||
|
const vue = Editor.require(`packages://${PACKAGE_NAME}/lib/vue.js`);
|
||||||
|
|
||||||
Editor.Panel.extend({
|
Editor.Panel.extend({
|
||||||
style: fs.readFileSync(Editor.url(`packages://${PACKAGE_NAME}/static/style/default/index.css`), 'utf-8')
|
style: fs.readFileSync(Editor.url(`packages://${PACKAGE_NAME}/static/style/default/index.css`), 'utf-8')
|
||||||
@ -13,7 +14,7 @@ Editor.Panel.extend({
|
|||||||
},
|
},
|
||||||
|
|
||||||
ready() {
|
ready() {
|
||||||
this.app = new Vue({
|
this.app = new vue({
|
||||||
el: this.$app,
|
el: this.$app,
|
||||||
created: function () {
|
created: function () {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user