如何在express.js中包含我的html/js/css文件? 有沒有什麼辦法可以管理模板?如何在express.js中集成HTML模板
我想只使用HTML(無玉)。
<head>
<DATA>
</head>
<header>
<?php include('includes/header.html'); ?>
</header>
<topnavigation>
<?php include('top_navigation/header.html'); ?>
</topnavigation>
<content>
<?php include('website/header.html'); ?>
</content>
<footer>
<?php include('includes/content.html'); ?>
</footer>
您是否嘗試過尋找一些樣品應用? –
告訴我們您嘗試過的以及爲什麼 它不符合您的需求。這表明你已經花時間 試圖幫助自己,它使我們避免重申明顯的答案, ,最重要的是它可以幫助您獲得更具體和相關的答案! 另請參閱[如何問](http://stackoverflow.com/questions/how-to-ask) –