N
N
Nikolay Semenov2018-05-25 13:44:12
JavaScript
Nikolay Semenov, 2018-05-25 13:44:12

How to declare a global variable in angular 5?

Hello!
Guys, tell me how to make it so that instead of a specific url, insert a global variable, build the project with it. And what would the project work with any value that could be changed in the config file?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Evgeniy Samoilenko, 2018-05-25
@nickola105

The environment file is used for this.
Comprehensive guide

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question