DEV Community

Cover image for Deploy a single page application with 200.html

Deploy a single page application with 200.html

Adnan Babakan (he/him) on October 12, 2019

Hey there people So I'm a JavaScript fan and really love working with JavaScript as it is really powerful and has a huge community behind it. One...
Collapse
 
bayuangora profile image
Bayu Angora

What if I have both of index.html and 200.html?

Collapse
 
adnanbabakan profile image
Adnan Babakan (he/him)

Actually Nuxt.js does the thing you said I don't get the purpose of this since everything is going to be redirected to 200.html.
In Nuxt.js both index.html and 200.html are same I assume this is a kind of fallback I think for some web servers which I'm not sure about.