:::

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.  

:::

書籍目錄

展開 | 闔起

快速登入


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

計數器

今天: 4687468746874687
昨天: 2489248924892489
總計: 8026669802666980266698026669802666980266698026669