- Notifications
You must be signed in to change notification settings - Fork1
A VSCode extension that includes tools for a create-universal-app instance.
License
albbus-stack/t3-cua-tools
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
⚠ 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.
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.
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.
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.
About
A VSCode extension that includes tools for a create-universal-app instance.
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Uh oh!
There was an error while loading.Please reload this page.