:::

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%3Ftbsn%3D33%26tbdsn%3D1745

計數器

今天: 2893289328932893
昨天: 3755375537553755
總計: 4458732445873244587324458732445873244587324458732