[add] 熱更新

This commit is contained in:
2022-08-31 09:48:48 +08:00
parent fd5f31fd66
commit 2bde4ac72e
57 changed files with 10746 additions and 31 deletions

View File

@@ -0,0 +1,14 @@
'use strict';
var Fs = require('fire-fs');
var Path = require('fire-path');
let url = Editor.url(window.packageRoot + "panel/TestEnvAli.html", 'utf8');
module.exports = {
init() {
Vue.component('TestEnvAli', {
props: ['data'],
template: Fs.readFileSync(url),
});
},
};