Answers for "debug json angular"

1

angular read config from json

{  "compilerOptions": {  "resolveJsonModule": true, "esModuleInterop": true } }

add this to tsconfig.json, then read json by importing like normal module:
import '../assets/test.json'
Posted by: Guest on November-02-2020
0

angular json and cli json file

npm install -g @angular/cli

npm install @angular/cli
Posted by: Guest on October-24-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language