Name Change - app.html to index.html
See original GitHub issueThis issue isn’t about a bug
So the language of the web is HTML right? A video from Rich Harris. Then why use app.html
instead of index.html
? The first file that beginner developer creates is index.html
so because of those two reasons I think it’s best to change app.html
to index.html
.
I know that SvelteKit isn’t even the beta or alpha (or whatever) release but, in Sapper, the name of the main HTML file is index.html
so I thought maybe in SvelteKit it’s going to be app.html
.
I hope I’m not being ridden by creating such a request.
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
How can I rename from index.html to app.html? #1761 - GitHub
One of the options is: filename: 'index.html' Simply change this to the new name and the 'npm run build' script will create the...
Read more >How can I rename index.html in a create-react-app project?
Then open paths.js which is found in the config folder, and change the appHtml property in the module.exports. That's the only change you'll ......
Read more >Using Different Names for Index Files
Our Web servers support a variety of index file names by default. Advanced users can change the defaults.
Read more >Before You Share Your React App, Change index.html
Navigate to index.html in the public directory and find the head tag. ... See that text Web site created using create-react-app? Let's change...
Read more >How to change the "index.html" to the app name - Ionic Forum
I'm trying to change the default "index.html" title that is showed up when I send a push notification using ionic cloud and my...
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
People using Sapper saw the
index.html
file and thought they could just send thesrc
file to their HTTP server and it start working, but it doesn’t. Let’s not have that happen again in SvelteKit.It’s the same because it doesn’t matter that SvelteKit going to generate the code dynamically. What does the beginner developer say at the first time that sees
app.html
and the second time that sees its content? First time: “Ok we have a.html
file with the name ofapp
. What does it contain?” Second time: “Ahah, It’s the same as theindex.html
(or it’s the index page or…)”.It’s just one simple way to get the point. There is no reason to name it
app.html
and make it “not one way to the point”.