Opening non-default browser with lite-server in angular2 quick start guide

前端 未结 7 1308
庸人自扰
庸人自扰 2021-02-05 08:14

Having followed the TypeScript version of the Angular 2 Quick Start guide, I was wondering if it is possible, and if so how to configure the lite-server to launch a browser othe

7条回答
  •  灰色年华
    2021-02-05 08:27

    Make a file name "bs-config.json" in your project folder and add below code to that file:

    {
    "browser": ["chrome","firefox"]         //to make chrome to default browser
    }
    

提交回复
热议问题