does create-react-app support named urls e.g. my-app.dev opposed default localhost:3000? using windows 10 machine. used use apache virtual host set can't figure out how in cra.
update: i've half solved problem adding 127.0.0.1 www.my-app.dev my-app.dev
hosts file located @ c:\windows\system32\drivers\etc
. had create .env
file in root of react project , added host = my-app.dev
tried add port = 0
.env
file made no difference. when run app npm start
opens @ my-app.dev:3000
there way rid of of port?
i have found answer on cra github page here
Comments
Post a Comment