Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

A VSCode extension that includes tools for a create-universal-app instance.

License

NotificationsYou must be signed in to change notification settings

albbus-stack/t3-cua-tools

Repository files navigation

TypescriptCode

⚠  This repo has been moved under thet4-app monorepo  ⚠

This is a VSCode extension that consists of a set of tools for apps created with the create-t3-universal-app tool or cloned from theCUA (create-universal-app) template. This is also fully compatible with the latest version of CUA that's using Expo Router.

The public extension is live on the VSCode marketplacehere.

Usage

New Screen

Input the new screen name in CapitalizedCamelCase (i.e. the name that you would have used for the screen component). Subsequently this command will generate a newscreen.tsx file under the directorypackages/app/features/{ScreenName}, add the generated component to the stack navigator inpackages/app/navigation/native/index.tsx, add a new route inpackages/app/provider/navigation/index.tsx and add a newindex.tsx underapps/nextjs/pages/{ScreenName} importing your new screen in Nextjs. After that it will open the newscreen.tsx file for you to modify.

New Component

Input the new component name in CapitalizedCamelCase. Subsequently this command will generate a new component under thepackages/ui/src/components folder. After that it will open the new{ComponentName}.tsx file for you to modify.

New API Route

Input the new API route name in lowercaseCamelCase. Subsequently this command will generate a new router in thepackages/api/src/router folder and add that to theindex.ts router. After that it will open the new{routeName.ts} file for you to modify.


[8]ページ先頭

©2009-2025 Movatter.jp