:::

9. Vue Router

  1. 官網:https://router.vuejs.org/zh/installation.html
  2. 安裝:
    npm install vue-router

     

  3. 使用:
    import { createApp } from 'vue'
    import App from './App.vue'
    import router from './router'
    
    createApp(App).use(router).mount('#app')
    

     

  4.  

:::

書籍目錄

展開 | 闔起

快速登入


http%3A%2F%2Fcampus-xoops.tn.edu.tw%2Fmodules%2Ftad_book3%2Fpage.php%3Ftbdsn%3D1745%26tbsn%3D33

計數器

今天: 991991991
昨天: 3068306830683068
總計: 8077496807749680774968077496807749680774968077496