Create Project
Use this to create a new, blank project based on React Base.
This will clone the React Base, remove the original Git history, set up a new Git repository and create a new project on GitLab.
Requirements
- Yarn
Usage
Navigate to the directory you want to create the project in, e.g.:
cd ~/Sites
Then run
yarn create @ta-interaktiv/project
yarn create
will download the newest version of the script, ask you for the
slug name of the project (a short name, like oscars or mietpreis-karte),
prepend the current year and month (like so: 2018-02-oscars) and create
the project.
In the end a Finder window should open with the newly created project.
In order to test the newly created project, run
yarn start
Options
Argument | Effect |
---|---|
--no-repo |
Skips the creation of a git repository, both locally and on GitLab.com |