Render custom 404 page for sapper

This commit is contained in:
rotimi-best
2021-08-24 19:43:46 +03:00
parent b94bafbafd
commit b0baf5915c
4 changed files with 12 additions and 2 deletions
+2 -1
View File
@@ -5,7 +5,8 @@
"scripts": {
"dev": "sapper dev",
"build": "sapper build --legacy",
"export": "sapper export --legacy --entry \"/ login signup courses dashboard discussions people timetable profile discussions\"",
"export": "sapper export --legacy --entry \"/ /404 login signup courses dashboard discussions people timetable profile discussions\"",
"postexport": "mv __sapper__/export/404/index.html __sapper__/export/404.html",
"start": "node __sapper__/build"
},
"dependencies": {