1.0.0 • Published 4 years ago
simple-rtg v1.0.0
Simple RTG - React Typescript Generator
===================
:cloud: Quick Start
The quickest way to get started is use npx and pass in the name of the project you want to create. If you don't specify a project name, the default simple-rtg will be used instead. If you want to use yarn instead of npm, pass the option --useYarn.
npx simple-rtg [--dest=<project-name>] [--useYarn]Example:
npx simple-rtg --dest=my-project --useYarn
npm simple-rtg -d my-project -yThe process will take about 1-2 minutes. After that, your project is in ready-to-start. Start your React app in development mode by using:
cd "<project-name>" && npm run startExample:
# Using npm
cd my-project && npm run start
# Using yarn
cd my-project && yarn start:clipboard: Available Commands
start- Run the server in development modebuild- Bundle the project using webpackserve- Run the server in production modelint- Run linters (prettierandeslint) sequentially and autofix fixable errors if anylint:check- Run linters (prettierandeslint) sequentially and reports errors if any
Thanks! :heart:
1.0.0
4 years ago