Skip to content
Discussion options

You must be logged in to vote

we have an adapter called solid-start-static. You can use that to do SSG. You will have to set it up like this:

import staticAdapter from 'solid-start-static'
export default defineConfig({
	plugins: [solid({
		prerenderRoutes: ['/index', '404'] 
		adapter: staticAdapter()
	})]
});	

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@ryansolid
Comment options

Answer selected by N4tus
Comment options

You must be logged in to vote
1 reply
@ryansolid
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
6 participants