有人可以给我一些有关我的项目结构的建议吗?
-app
-layout
-home-layout
-header
-menu
-content
-detail-page
-left-side
-left-side.component.html
-left-side.component.ts
-right-side
-detail-page.component.html
-detail-page.component.ts
-footer
-pipes
-widget-features
-material-module
-services
-models
Run Code Online (Sandbox Code Playgroud)
凭借实际的结构,站点地图的组织非常精明,我可以轻松地找到不同页面的内容。但是要获得模块化架构,我想重新组织结构。你能给我一些建议吗?
谢谢。
我有一个json文件,我想创建模型使用数据列表(部门号和名称)进行自动完成使用,我发现网站json2ts.com但它不再工作.你能给我一个例子吗?
{
"regions": {
"alsace": [67, 68],
"aquitaine": [40, 47, 33, 24, 64],
"auvergne": [43, 3, 15, 63],
"basse-normandie": [14, 61, 50],
"bourgogne": [21, 58, 71, 89],
"bretagne": [29, 35, 22, 56],
"centre": [45, 37, 41, 28, 36, 18],
"champagne-ardenne": [10, 8, 52, 51],
"corse": ["2b", "2a"],
"franche-compte": [39, 25, 70, 90],
"haute-normandie": [27, 76],
"languedoc-roussillon": [48, 30, 34, 11, 66],
"limousin": [19, 23, 87],
"lorraine": [55, 54, 57, 88],
"midi-pyrennees": [46, 32, 31, 12, 9, 65, 81, 82],
"nord-pas-de-calais": …Run Code Online (Sandbox Code Playgroud)