明明當前端工程師兩年,此刻的我感到自己是如此的新鮮:D
於是大腦自行產生了 一切都是幻覺嚇不了我的 精神勝利法,第一版我們參考 AngularClass/angular-starter 切出來長這樣:
註:由於是開發 CRM 系統,customer-list 代表顯示 user 的客戶列表。另外只列出少部分的資料夾當範例解說。
app
--view
----home // home page
----customer-list // customer list page
----no-content // 404 not found page
--component // all the contents in page
----customer-profile // single customer component
----header
----nav
哇 component 和 view 平行了喔好棒棒~~~?