Skip to content

Comments

feat: first-class TanStack Router integration + Tailwind create scaffold#8317

Open
BleedingDev wants to merge 5 commits intoweb-infra-dev:mainfrom
BleedingDev:feat/tanstack-router-tailwind-first-class
Open

feat: first-class TanStack Router integration + Tailwind create scaffold#8317
BleedingDev wants to merge 5 commits intoweb-infra-dev:mainfrom
BleedingDev:feat/tanstack-router-tailwind-first-class

Conversation

@BleedingDev
Copy link

@BleedingDev BleedingDev commented Feb 6, 2026

Summary

  • add first-class TanStack Router runtime/CLI integration for Modern.js conventional routing
  • add integration coverage for SSR, data loading, navigation blockers, prefetch, mutations, and module federation scenarios
  • add @modern-js/create support for --router tanstack and Tailwind v4 scaffold via --tailwind
  • update EN/ZH docs for init commands, routing model, and runtime import guidance
  • add changeset entries for @modern-js/create and @modern-js/runtime

Validation

  • cd tests && pnpm test:framework -- integration/routes-tanstack/tests/index.test.ts integration/routes-tanstack-create-routes/tests/index.test.ts integration/routes-tanstack-mf/test/index.test.ts integration/tailwindcss/tests/tailwindcss-v4.test.ts
  • cd tests && pnpm test:framework -- integration/create-tailwind/tests/index.test.ts
  • pnpm --filter @modern-js/create build

@netlify
Copy link

netlify bot commented Feb 6, 2026

Deploy Preview for modernjs-v3 ready!

Name Link
🔨 Latest commit 0f32a7f
🔍 Latest deploy log https://app.netlify.com/projects/modernjs-v3/deploys/6985a2c18d6af60008a29a27
😎 Deploy Preview https://deploy-preview-8317--modernjs-v3.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@changeset-bot
Copy link

changeset-bot bot commented Feb 6, 2026

🦋 Changeset detected

Latest commit: 0f32a7f

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 113 packages
Name Type
@modern-js/create Minor
@modern-js/runtime Minor
@modern-js/sandpack-react Minor
@modern-js/plugin-bff Minor
@modern-js/plugin-styled-components Minor
@modern-js/plugin-i18n Minor
@integration-test/alias-set Patch
app-document Patch
async-entry-test Patch
tmp Patch
bff-api-app Patch
bff-client-app Patch
bff-indep-client-app Patch
bff-hono Patch
integration-clean-dist-path Patch
integration-compatibility Patch
integration-custom-dist-path Patch
custom-file-system-entry Patch
integration-custom-template Patch
deploy Patch
deploy-server Patch
dev-server Patch
integration-disable-html Patch
app-custom-entries Patch
app-custom-routes-runtime Patch
app-custom Patch
app-entry Patch
app-route Patch
app-entry-server Patch
i18n-app-csr-html-lang Patch
i18n-app Patch
i18n-app-ssr-html-lang Patch
i18n-app-ssr Patch
i18n-custom-i18n-wrapper Patch
i18n-mf-app-provider Patch
i18n-mf-component-provider Patch
i18n-mf-consumer Patch
i18n-routes Patch
i18n-routes-ssr Patch
@integration-test/image-component Patch
main-entry-name Patch
nonce Patch
pure-esm-project Patch
routes-match Patch
routes-tanstack-create-routes Patch
routes-tanstack-mf-host Patch
routes-tanstack-mf-remote Patch
routes-tanstack Patch
routes Patch
app-rsbuild-hooks Patch
rsc-csr-app Patch
rsc-csr-routes Patch
rsc-ssr-app Patch
rsc-ssr-routes Patch
runtime-custom-plugin Patch
runtime-custom-config-plugin Patch
select-mul-entry-test Patch
select-one-entry-test Patch
server-config Patch
server-json-script Patch
server-monitors Patch
server-prod Patch
server-routes Patch
@source-code-build/app Patch
ssg-fixtures-mega-list-routes Patch
ssg-fixtures-nested-routes Patch
ssg-fixtures-simple Patch
ssg-fixtures-web-server Patch
ssr-base-async-entry-test Patch
ssr-base-json-test Patch
ssr-base-test Patch
ssr-base-fallback-test Patch
init Patch
ssr-base-loadable Patch
ssr-partial-test Patch
ssr-script-loading Patch
ssr-streaming-inline-test Patch
ssr-streaming-test Patch
styled-components-stream Patch
styled-components-string Patch
integration-tailwindcss-v2 Patch
integration-tailwindcss-v3 Patch
integration-tailwindcss-v4 Patch
tmp-dir Patch
write-to-dist Patch
@modern-js/bundle-diff-benchmark Minor
@modern-js/main-doc Minor
@modern-js/tsconfig Minor
@modern-js/builder Minor
@modern-js/plugin-data-loader Minor
@modern-js/plugin-ssg Minor
@modern-js/image Minor
@modern-js/render Minor
@modern-js/bff-core Minor
@modern-js/bff-runtime Minor
@modern-js/server-core Minor
@modern-js/create-request Minor
@modern-js/plugin-polyfill Minor
@modern-js/prod-server Minor
@modern-js/server-runtime Minor
@modern-js/server Minor
@modern-js/server-utils Minor
@modern-js/app-tools Minor
@modern-js/i18n-utils Minor
@modern-js/plugin Minor
@modern-js/runtime-utils Minor
@modern-js/types Minor
@modern-js/utils Minor
@modern-js/rslib Minor
@scripts/prebundle Patch
@scripts/rstest-config Patch
entries-app-builder Patch
@scripts/release-node Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@caohuilin
Copy link
Member

caohuilin commented Feb 10, 2026

Thanks for the contribution! We are currently reviewing and discussing this PR, and will provide feedback soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants