本專案為 AON 的 UI 開發,先前專案為 使用 React.js 開發的 AON-UI,由於使用 TypeScript 有助於型別上的定義,因此本團隊決定重構。
git clone https://github.com/RemakeAONTeam/AON-UI-NG.git
yarn
本地環境啟動 http://localhost:4200.
yarn start
yarn build
yarn build:prod
- 請勿使用
button
- 所有圖片請使用
backgroundImage
,
可使用絕對路徑變數,詳細請參見 tsconfig.json
。
範例:
// import MockSkills from '../../../../mock/MockSkills';
import MockSkills from '@mock/MockSkills';
AON-UI is BSD licensed. See LICENSE.
本專案使用 Angular 框架,非常歡迎任何貢獻,如果您對該遊戲有興趣,也歡迎加入我們。
本專案語法風格依循 stylelint
, 請在您 PR 之前,安裝以下相關套件,並且通過語法檢測 😇。
yarn lint