extname configuration property doesn't work
See original GitHub issueI had some Handlebar templates using .hbs
so I used the extname
config property to adjust the default, but nothing was rendering… so I renamed my templates to .handlebars
and rendering works now.
Issue Analytics
- State:
- Created 11 years ago
- Comments:11 (5 by maintainers)
Top Results From Across the Web
Setup Issue - Phabricator
sudo apt-get install php5-extname # Debian / Ubuntu $ sudo yum install php-extname # Red Hat / Derivatives. If those commands don't work,...
Read more >p4 extension
Firstly, the super user runs p4 extension --configure extName to supply various global details about the Extension's configuration, such as the list of...
Read more >A Step By Step Guide To Using Handlebars With Your Node js ...
Using this property will give you the control to what name of the file it has to look for in case you didn't...
Read more >User and Workspace Settings - Visual Studio Code
Settings are written as JSON by specifying the setting ID and value. User settings.json open in the editor. The settings.json file has full...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
You’ll need to update both the Express’ engine registration, and
"view engine"
setting to"hbs"
as well:@uxdiogenes this line is the problem. Express’
"view engine"
setting needs to match theextname
value that you’re setting when configuring Express Handlebars. Note that the preceding"."
is not required, Express is smart enough to work when when dot is missing.