Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Jul 6, 2025. It is now read-only.
Discussion options

I'm confused as the old versions ran via the aleph build command that built the static sites.

Right now in the alpha, I can't find any way to launch the SSG, halp 😄

You must be logged in to vote

sorry, aleph 1.0 wouldn't provide the SSG feature, but will support cache the SSR output to DB/fs

Replies: 1 comment · 3 replies

Comment options

sorry, aleph 1.0 wouldn't provide the SSG feature, but will support cache the SSR output to DB/fs

You must be logged in to vote
3 replies
@mandric
Comment options

Can you recommend an alternative to Aleph 1.0 for SSG? Use an older version or a branch or another framework you can recommend?

@ije
Comment options

ije Apr 14, 2023
Maintainer

@mandric in fact currently you can use the ssg feature, just did't update the docs...

@ije
Comment options

ije Apr 14, 2023
Maintainer

here is an example:

serve({
  plugins: [
    denoDeploy({ modules }),
    mdx({
      remarkPlugins: [remarkFrontmatter, remarkGFM],
      rehypePlugins: [rehypeHighlight, rehypeSlug],
      providerImportSource: "@mdx-js/react",
    }),
    react({ ssr: true }),
  ],
  build: { ssg: true }
});

and you can choose the routes to generate htmls: ssg: { exclude: /^\/admin/ }

Answer selected by fschoenfeldt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
🙏
Q&A
Labels
None yet
3 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.