This repository has been archived on 2021-09-06. You can view files and clone it, but cannot push or open issues or pull requests.
vuejs_course/2021-02-08 2024 forms-01-st.../src/main.js

14 lines
264 B
JavaScript
Raw Permalink Normal View History

2021-02-08 20:24:41 +01:00
import { createApp } from 'vue';
import App from './App.vue';
createApp(App).mount('#app');
2021-03-02 22:21:36 +01:00
if (module.hot) {
module.hot.accept(); // already had this init code
module.hot.addStatusHandler(status => {
if (status === 'prepare') console.clear();
});
}