update,
This commit is contained in:
14
COMP3322A-Lab-7-React/code/init-react.sh
Normal file
14
COMP3322A-Lab-7-React/code/init-react.sh
Normal file
@@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
|
||||
rm -rf myreactapp
|
||||
|
||||
set -ex
|
||||
|
||||
npx create-react-app myreactapp
|
||||
|
||||
pushd myreactapp
|
||||
npm i -d
|
||||
npm start
|
||||
|
||||
popd
|
Reference in New Issue
Block a user