Hello,
I need to have a file that contains all links api to have one file with all configuration that i can use on the project…
Any idea how to proceed ?
Hello,
I need to have a file that contains all links api to have one file with all configuration that i can use on the project…
Any idea how to proceed ?
I do like following:
And the file Ressources is in which folder ?
I put it in src/providers/resources.ts
(or in a subfolder)
Import for example in a page in src/pages
:
import {Resources} from '../providers/resources';
My bad, sorry, it’s a json there was a typing mistake. I edited my solution.
Respectily modify like following:
....
api_offres: 'http...',
Perfecto
Thank you it’s working now