contentacms / contenta_angular

Contenta CMS Angular frontend
http://angular.contentacms.io
55 stars 19 forks source link

Can't find file that i must edit ngsw-manifest.json #108

Open hmartens opened 6 years ago

hmartens commented 6 years ago

In the documentation it says there are 3 files I need to edit to make it point to my contenta backend. I cannot find the file 'ngsw-manifest.json"

Anyone else came across this or am I doing something wrong?

hmartens commented 6 years ago

The documentation is great for getting the angular up and running but not to get it to see your local Contenta system. Firstly, I cannot find the "ngsw-manifest.json"-file Secondly, "src/environments/environment.prod.js" and "src/environments/environment.js" actually has the filetype "ts" and not "js"...and even then I do not know what to do with these files to make it use my local Contenta?

Can someone give me some pointers on how to get it to use my local Contenta and not the online Contenta server?

Thank you

joaogarin commented 6 years ago

Hello,

The repo is a bit outdated as nobody has had to much time to work on it lately. I know that its not in angular6 and the rxjs dependencies at this point might be hard to get across. to point to your local contenta the files to change are the environments files like you said before. See https://github.com/contentacms/contenta_angular/blob/develop/src/environments/environment.ts#L8

If you would like to upgrade the repo and make a pull request with the newer version of the packages that would be great =) cheers