Express and Handlebars: Implementing multiple Defaultlayouts
问题 i need two defaultlayout for my project nodejs (point of sale), the first: for the authentication page and the registration of a new user (cashier) (with his own CSS code), the second for the dashboard (pos interface as well as the product addition page ...) (with its own CSS code too). the structure of my code should be: views/ layouts/ mainDashboard.hbs mainLogin.hbs dashboard.hbs addProduct.hbs login.hbs register.hbs My code in server.js (make juste one DefaultLayout): const express =