ITADN

fix(presets): update solid-router and fix syntax error of solid example

#594Pull RequestYogiLiu 创建于 2025-09-20
Y
YogiLiucommented
<!-- DO NOT IGNORE THE TEMPLATE! Thank you for contributing! Before submitting the PR, please make sure you do the following: - Read the [Contributing Guide](https://github.com/antfu/contribute). - Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate. - Provide a description in this PR that addresses **what** the PR is solving, or reference the issue that it solves (e.g. `fixes #123`). - Ideally, include relevant tests that fail without this PR but pass with it. --> ### Description 1. Update imports in `@solid/router` preset, they've changed many API after [0.10.0](https://www.npmjs.com/package/@solidjs/router/v/0.10.0). If you use `@solid/router` older than 0.10.1 please use `solid-app-router`. 2. Fix syntax error of solid example. ### Linked Issues ### Additional context <!-- e.g. is there anything you'd like reviewers to focus on? -->
合并状态:未合并 关闭于 2025-09-20 2 条评论