1. You can start by cloning the repository on your local machine by running:
git clone https://github.com/blesSmePadre/react-typescript-starter-boilerplate
cd react-starter-boilerplate
2. Install all of the dependencies:
yarn
3. Start to run dev mode:
yarn start:dev
Now the app should be running at http://localhost:5000/
yarn <script> |
Description |
---|---|
start:dev |
Run your app on the development server at localhost:5000 . HMR will be enabled. |
start:staging |
Bundle assets to ./public and run it on the staging server with server environment at localhost:8080 . |
start:production |
Bundle assets to ./public and run it on the staging server with staging environment at localhost:8080 . |
start:spa:staging |
Bundle assets to ./public and run it on the static server with staging environment at localhost:8080 . |
start:spa:production |
Bundle assets to ./public and run it on the static server with production environment at localhost:8080 . |
1. Start the spa application by running:
yarn dev:spa
2. Double click inside input to start typing, then presss "/" for "slash" commands (press ctrl (cmd) + z to decline and return "/" inside editor
3. Create your custom command through valid JS expresssion