webextensions-examples
webextensions-examples copied to clipboard
Add Angular 4 example for WebExtensions
Similar to React / ES6 Popup Example
There are a few guides out there (here and here), but I'd like to see an official example that works out of the box.
It's a good idea. I wonder if @cito would give us permission to use a simplified version of his setup for it :).
Sure. Note that the article is for Angular 2 and a bit outdated already. I'll publish an update once Angular 5 is released which should happen in the next few days. Maybe you want to wait for that.
Angular 5 is out. @Cito will you make an example or should I?
@BojanKogoj I'm already on it - will push it today :)
Ok, I have now updated my Pinboard-Pin extension and the article Web Extensions made with Angular to incorporate the latest changes and additions in Angular 5. Turned out that Angular 5 and Angular CLI 1.5 bring several improvements that make it even more suitable for creating Web extensions. For instance, you can now specify transpilation targets other than ES5, and turn off the creation of hashes in production builds. Everything works much more smoothly than it did with Angular 2.
Feel free to use this as a base for a more slimmed down official example.
That's awesome, thank you @Cito . It will probably be a while before I have the time to do this myself, but I'd be very happy to look at PRs if anyone else wanted to.
Hi @Cito can you or anyone answer this question https://stackoverflow.com/questions/51897510/migrating-chrome-extension-to-web-extension here, I have developed a chrome extension and I want the same in mozilla, please check the question it's related to this thread only.
No activity within the last three years, closing.