简体   繁体   English

我的视图文件夹中有一个文件夹我有我的 index.hbs 我现在如何渲染它?

[英]I am having a folder inside my views folder there I have my index.hbs how do I render it now?

I HAVE FOLDER INSIDE MY VIEWS FOLDER THERE I have my index.hbs how can I render it now through my app.js file in nodejs express.我的视图文件夹中有文件夹我有我的 index.hbs 我现在如何通过 nodejs express 中的 app.js 文件渲染它。

I HAVE FOLDER INSIDE MY VIEWS FOLDER THERE I have my index.hbs how can I render it now through my app.js file in nodejs express.我的视图文件夹中有文件夹我有我的 index.hbs 我现在如何通过 nodejs express 中的 app.js 文件渲染它。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 我无法公开访问我的 css 和 js 文件到我的 index.hbs 文件夹中 - I am not able to access my css and js file in public to my index.hbs in views folder 当把它放在index.hbs页面上时,把手变量起作用,但是当我将其与<script> - Handlebars variable working when it placed on index.hbs page, but isn't working, when I connect it with <script> 如何在视图文件夹中的 nestjs 应用程序中的 hbs 模板引擎中设置 html 模板 - How can I setup html template in hbs templating engine in nestjs application in the views folder 将CI用于Bitbucket存储库-我是否需要在根文件夹中包含node_modules? - Using CI for Bitbucket repository - do I need to have node_modules inside my root folder? 我的index.js路由文件遇到问题-我是否正确设置了视图? - Having some trouble with my index.js route file - have I set up my views correctly? 如何告诉 heroku 我的 server.js 和 package.json 在文件夹中? - How do I tell heroku that my server.js and package.json are inside a folder? 如何使hbs通过回调函数呈现数组? - How do I make hbs render an array from a callback function? 如何链接到本地​​主机外部文件夹中的图像 - How do I link to an image from a folder outside of my localhost 如何在我的项目中使用 React 前端文件夹实现设计? - How do I implement Devise with react frontend folder in my project? 如何在另一个文件夹中的主应用程序文件夹中使用猫鼬模型? - How do I use mongoose models from my main app folder on another folder?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM