opentiny / opentiny/tiny-robot

✨ [Feature]: SSR支持

Open
#329 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
92
Forks
16
Avg merge
2d 18h
Merged PRs (30d)
16

Description

What problem does this feature solve

部分组件代码开发时没有考虑SSR场景,在 Nuxt、Vite SSR 或其他预渲染环境中部分全局对象不存在会导致报错,需要改进支持SSR

What does the proposed API look like

SSR场景不产生报错

What is your project name

tiny-robot

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files or entry points are named. Start by reproducing the issue in a Nuxt or Vite SSR/pre-rendered environment and identify which components access unavailable global objects; done means the components render in SSR without errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
nuxt, typescript, vite
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.