Project for React Academy, 2024. For classroom training.
To get this app:
git clone https://github.com/ReactAcademyLive/React-Main.git
cd React-Main
npm install # Install the dependencies in node_modules
code . # start VS code in the current folder
command | description |
---|---|
npm install |
Installs dependency modules in a folder called node_modules |
npm run dev |
Launch your web app in dev mode (type o to open browser, q to quit) |
npm run build |
Build a release website (outputs to dist folder) |
npm run preview |
Launch a web server from the dist folder (q to quit) |
npm run convert-to-js |
Convert TypeScript to JavaScript (Mac and Linux) |
npm run convert-to-js-pc |
Convert TypeScript to JavaScript (Windows PC) |
npm run convert-back |
Convert back to TypeScript (Mac and Linux) |
npm run convert-back-pc |
Convert back to TypeScript (Windows PC) |