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

import { createApp } from 'vue';
import App from './App.vue';
createApp(App).mount('#app');
if (module.hot) {
module.hot.accept(); // already had this init code
module.hot.addStatusHandler(status => {
if (status === 'prepare') console.clear();
});
}