-
Clone
angular-element-pocinside your workspace dir. -
Switch to angular app
cd angular -
Install
nvmfor linux or mac from this url -
Install this specific version of
nodejsusingnvm:nvm install v16 -
Check
nodejsversion by typing :node -v -
If multiple versions are installed use the correct version :
nvm use v16for Mac/Linux. -
Remove
package-lock.jsonandnode_modulesfolders if they are exist in the directory -
Install dependencies :
npm install -
Install http-server to serve the build files:
npm install -g http-server -
Perform the following steps in the same order in 2 parallel terminals:
npm run watch
http-server --path=public --port=4200
-
Use the below credentials to login. These are fake credentials that are available(https://reqres.in/)
email: eve.holt@reqres.in
password: cityslicka