vue 3 main.js example
Example: vuejs 3 app.mount
// HTML file
<body>
<div id="app">
// Your app here
</div>
</body>
// JS file
import { createApp } from 'vue';
import App from './App.vue';
const app = createApp(App);
app.mount('#app');
// HTML file
<body>
<div id="app">
// Your app here
</div>
</body>
// JS file
import { createApp } from 'vue';
import App from './App.vue';
const app = createApp(App);
app.mount('#app');