有多種方式可以安裝 AdminLTE。
強烈建議從 GitHub 最新版本 AdminLTE 3 下載,以獲得無錯誤和最新功能。
請訪問發行版本頁面以查看更新日誌。
舊版發行版本為 AdminLTE 2 / AdminLTE 1。
重要提示:您需要在專案中另外添加外掛的 CDN 連結。
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/adminlte.min.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/adminlte.min.css">
重要提示:若要透過 npm/Yarn 安裝,您至少需要 Node.js 14 或更高版本。
npm install admin-lte@^3.2 --save
yarn add admin-lte@^3.2
composer require "almasaeed2010/adminlte=~3.2"
git clone https://github.com/ColorlibHQ/AdminLTE.git