I have been looking for suggestions on stackoverflow and all over the internet e.g. https://stackoverflow.com/questions/47371954/cannot-access-stylesheet-with-handlebarshttps://stackoverflow.com/questions/46116175/how-to-add-stylescss-and-js-to-handlebar-files Yet, I am still having problems on linking the css file to all hbs files.Look forward to your suggestions, thank you!My directory looks like this:public-views --main.hbs -stylesheets --style.css -app.js in app.js, I haveapp.use(express.static(path.join(__dirname, '/public')));in main.hbs, I have in the head tag.
Submitted February 21, 2019 at 03:00AM by survivorsheep
No comments:
Post a Comment