Use Angular 4 in chrome extension

297 views
Skip to first unread message

Pallavi Goyal

unread,
Feb 20, 2018, 8:18:41 AM2/20/18
to Chromium-Extensions-Announce
Hello All,

I want to know if we can use Angular 4 in chrome extensions.

I followed this article "Developing a Google Chrome Extension using Angular 4", but it did not work properly for me.

Moreover, it created an entirely new directory structure. 

I want to know is there any other way in which I can use Angular 4 such that there is no need to change the basic directory structure of "Hello" chrome extension.

Thanks in advance!

Pallavi Goyal

PhistucK

unread,
Feb 20, 2018, 9:47:24 AM2/20/18
to Pallavi Goyal, Chromium-Extensions-Announce
Given the tutorial, I would say you can.
If it does not work for you, perhaps comment there.


PhistucK

--
You received this message because you are subscribed to the Google Groups "Chromium-Extensions-Announce" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extensions+unsubscribe...@chromium.org.
To post to this group, send email to chromium-extensions@chromium.org.
Visit this group at https://groups.google.com/a/chromium.org/group/chromium-extensions/.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/CACAyaJ_fbWGsgchCAZwrURZFrWETwx4seLq6mNJ8A2VH3qYZrQ%40mail.gmail.com.
For more options, visit https://groups.google.com/a/chromium.org/d/optout.

Pranoy Sarkar

unread,
Feb 20, 2018, 9:59:17 AM2/20/18
to Pallavi Goyal, Chromium-Extensions-Announce
I already tried angular4 with chrome extension but not in depth, but it worked , my approach is i created an angular4 project after building , and declared the file as default popup , it worked. I dont know about your use case but it will work just take special care of the paths, because in angular4 setting the path is somehow tricky.

thanks & regards
pranoy

--
You received this message because you are subscribed to the Google Groups "Chromium-Extensions-Announce" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extensions+unsub...@chromium.org.

Pallavi Goyal

unread,
Feb 21, 2018, 3:28:02 AM2/21/18
to Chromium-Extensions-Announce
I followed another tutorial at https://ericterry.us/how-to-build-a-chrome-extension-with-angular-4/ and successfully created an angular-4 chrome extension.

Previously, my last step was wrong. I was supposed to load the extension from "dist" directory after building the application.

Reply all
Reply to author
Forward
0 new messages