add code for toastlog
This commit is contained in:
parent
6741f72627
commit
c82c5c94f6
File diff suppressed because it is too large
Load Diff
|
@ -2,6 +2,14 @@ import { createApp } from 'vue';
|
||||||
|
|
||||||
import App from './App.vue';
|
import App from './App.vue';
|
||||||
|
|
||||||
const app = createApp(App)
|
const app = createApp(App);
|
||||||
|
|
||||||
app.mount('#app');
|
app.mount('#app');
|
||||||
|
|
||||||
|
if (module.hot) {
|
||||||
|
module.hot.accept(); // already had this init code
|
||||||
|
|
||||||
|
module.hot.addStatusHandler(status => {
|
||||||
|
if (status === 'prepare') console.clear();
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
Reference in New Issue