Angular Router example Best way to upgrade to include .angular-cli.json and bypass Cannot read property 'config' of null

前端 未结 2 1002
逝去的感伤
逝去的感伤 2021-01-17 03:16

I tried downloading the Routing and Navigation example from this page

Here\'s the link to the specific zip.

I run the following sequence of commands:

2条回答
  •  盖世英雄少女心
    2021-01-17 03:21

    That project (the one in the zip file) is not setup as a CLI-based project. But after opening it up, you can get it running by doing the following:

    • npm install
    • npm run start

    This will open your default browser to http://localhost:3000/ where the app will be running.

    NOTE: you'll also want to undo any changes you've made (or unzip again)

提交回复
热议问题