sapper icon indicating copy to clipboard operation
sapper copied to clipboard

Incorrect Static HTML generation

Open rupesh-raj opened this issue 3 years ago • 0 comments
trafficstars

I am using sapper version 0.28.10 svelte 3.31.0 and trying to create a static version of the site with sapper npx sapper export --legacy --entry "/crawl" where I have added all my static pages in a tags.

The crawl.svelte file looks like

<a href="404">404</a>
<a href="route1">route1</a>
<a href="route2">route2</a>
<a href="route3">route3</a>

As per documentation I should get route1/index.html route2/index.html route3/index.html since sapper crawls all a tags but instead I only get crawl/index.html

rupesh-raj avatar Dec 24 '21 12:12 rupesh-raj