update readme for opening in locally
This commit is contained in:
parent
79aeaf7974
commit
971fbef756
2 changed files with 4 additions and 1 deletions
|
@ -10,5 +10,8 @@ To start development, you need node v16 (the dev server doesn't work on v18 *yet
|
|||
1. Install dependencies: `npm i`
|
||||
2. Start the dev server: `npm run dev`
|
||||
|
||||
## Running Locally
|
||||
After running the commands to start development, open in a browser: `http://localhost:4200`
|
||||
|
||||
## Live Demo
|
||||
The current live site is here: (https://mnswpr.com)
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
"dev": "concurrently --kill-others \"npm run watch:dev\" \"npm start\"",
|
||||
"start": "http-server ./dist/",
|
||||
"start": "http-server ./dist/ -a localhost -p 4200",
|
||||
"watch:dev": "node ./node_modules/webpack/bin/webpack.js --watch --mode development .",
|
||||
"buildprod": "node ./node_modules/webpack/bin/webpack.js --mode production ."
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue