sorry this might be a very silly question but I cannot figure it out. So I am using express-handlebars and I want to name my file newpage.handlebars. But it keeps on saving as a text file. However, I want it to be a HTML extension but the name to be newpage.handlebrs. I have my friends file where he did exactly that but he is away so I can't really ask him. Here is a picture of what he did and what I am doing.His file is mypage.handlebars while mine in newpage.handlebars. How should I fix this. Thanks a lot!
cannot get html extension when using handlebars
125 Views Asked by Safwan Ull Karim At
2
There are 2 best solutions below
Related Questions in JAVASCRIPT
- Using Puppeteer to scrape a public API only when the data changes
- inline SVG text (js)
- An array of images and a for loop display the buttons. How to assign each button to open its own block by name?
- Storing the preferred font-size in localStorage
- Simple movie API request not showing up in the console log
- Authenticate Flask rest API
- Deploying sveltekit app with gunjs on vercel throws cannot find module './lib/text-encoding'
- How to request administrator rights?
- mp4 embedded videos within github pages website not loading
- Scrimba tutorial was working, suddenly stopped even trying the default
- In Datatables, start value resets to 0, when column sorting
- How do I link two models in mongoose?
- parameter values only being sent to certain columns in google sheet?
- Run main several times of wasm in browser
- Variable inside a Variable, not updating
Related Questions in EXPRESS
- How do I link two models in mongoose?
- Unable to Post Form Data to MongoDB because of picturepath
- Processing multiple forms in nodejs and postgresql
- pnpm firebase app "Could not find a declaration file for module 'mime'"
- Products aren't displayed after fetching data from mysql db (node.js & express)
- What are some MERN projects that will grow me from junior dev to senior
- How Can I Make Dynamic Query In Sequelize with nodeJs
- Express session is not seened in server code
- Get Type Error when using .countDocuments with mongoDB
- Express JS Serve React JS Site With Path Longer Than Just Subdirectory
- Getting a Large Error Output When Calling MongoDB/Mongoose Functions Without an Error Message
- axios.post do not return anything when api call is made within backend
- bcrypt.compare receiving illegal argument string, undefined
- User is connecting to socket.io server twice
- i got "TypeError: data.map is not a function" and i can't get the data from backend
Related Questions in HANDLEBARS.JS
- Rust Handlebars dynamically select child Template
- I am trying a display items (events) from db typescript nestjs using handlebars the events are an array of object. Properties of each object undefined
- In the Node.js Web Dev book by David Herron, how does data (the input object) get to handlebars templates when I don't see it in the code anywhere
- String to Number with handlebar in JSReport
- Node Hapi.js bulk update to mariaDB
- Remove linebreaks when using {{each}}
- How to add the chart in excel using handlebars?
- getting "Error: Cannot read properties of undefined (reading 'username')" in my POST request
- How can I access object properties in my .hbs template?
- Where to put custom Handlebars functions in Ghost CMS?
- How to access the products array in the category page (bigcommerce handelbars stencil)
- I'm trying to install Klevu search on my theme manually
- Validator method before executing method
- lighthouse error in the Accessiblity section
- Comments not Displaying Under Posts - Handlebars.js and Express.js
Related Questions in EXTENSION-METHODS
- How to call late bound extension method from VB.NET (Framework)
- How to get correct IServiceProvider instance in my extension method
- Sending messages between two chrome background scripts
- In C#, How can an interface (such as ILogger), with 1 method signature for log(), show 5 on intellisense?
- How to create an extension method overshadowing the regular LINQ extensions?
- Redeclare "==" operator inside an extension type - Dart
- how to overload an extension method that is doing the same thing but different arguments
- Xcode Source Editor option not shown in Extensions
- Use a protocol rather than a struct as an (optional array) extension?
- Is ToString a Static Method?
- Accidental Overrides when trying to provide operators for a type in a context
- 'IServiceCollection' does not contain a definition for 'CustomMethod' and no accessible extension method 'CustomMethod'
- How to create database software with custom extension to save and reload later with C# WinForm App
- How do I use the extension functions for BigDecimal in kotlin?
- Is there way to make extensions polymorphic?
Related Questions in HTMLEXTENSIONS
- Getting error eg. unexpected keyword or identifier in htaccess file, how to remove it or is there any other way to remove file extension from url
- Cross browser extended native elements, with Polymer
- How to remove HTML Extension from a URL?
- Adobe CC: How HTML5 extensions work?
- cannot get html extension when using handlebars
- Why HtmlExtension in MVC makes radio buttons unclickable?
- Razor html helper parameter shows message about redundant conditional ternary expression usage
- How can I change my checkbox to radio buttons?
- Extend the HTML Grid for adding div at the end of Html Grid (MVC Contrib)
- AjaxControlToolKit HTMLExtender ImageUpload works on localhost, not server
- TextBoxFor for Nullable type
- Creation of input HtmlHelpers (eg: input type=file)
- htaccess for Dynamic URL Rewrite with .html extension based on url selection
- Configure the Javascript function + Html Helper
- Value using HTML extension is different than what it is supposed to be if two models have a property with the same name
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?


.handlebarsfile, and paste inside the new copied file.handlebarsfile, and rename the copied one to have the name yours had