發表文章

Laravel 12 Blog功能

圖片
 1.建立Blog資料表 php artisan make:migration create_blogs_table.php 2.資料表建立好後,要先執行php artisan migrate  資料庫才會新增上 3.建立Blog模型php artisan make:model Blog.php

Laravel 12 基本註冊登入設定

圖片
 1.Laravl安裝完時初時默認的頁面 resources/views/welcome.blade.php 2.設定訪客,用戶,註冊頁面  於views下建立dashboard檔包含三個頁面