init: création d'un template vide vite+vue3
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
import { createApp } from 'vue'
|
||||
// import CSS global
|
||||
import './assets/style.css'
|
||||
// import app vue racine
|
||||
import App from './App.vue'
|
||||
// import composants
|
||||
|
||||
|
||||
|
||||
// création app racine
|
||||
const app = createApp(App);
|
||||
|
||||
//Composants
|
||||
|
||||
|
||||
|
||||
//Démarrage dans div#app de index.html
|
||||
app.mount('#app');
|
||||
Reference in New Issue
Block a user