This package contains all the project templates used by the create-tui tool.
- Path:
react/ - Description: OpenTUI project with React integration
- Path:
core/ - Description: Basic OpenTUI project with core functionality
- Path:
solid/ - Description: OpenTUI project with Solid.js integration
Each template should have:
package.json- Package configurationtsconfig.json- TypeScript configurationsrc/- Source code directoryREADME.md- Template-specific documentation.gitignore- Git ignore rules
- Create a new directory in this package
- Add the required files mentioned above
- Update the CLI's template list in
packages/cli/src/domain/template.ts - Test the template with the CLI tool
- Templates are not published to npm
- They are downloaded directly from the GitHub repository
- Keep templates minimal and focused on their specific use case