Tips for integrating Angular? #145
Replies: 2 comments 2 replies
-
Searching I found some discussion about using rollup-plugin-copy so I have:
but the web extension plugin is running before the copy plugin:
Is it possible to force |
Beta Was this translation helpful? Give feedback.
-
I am unfamiliar with angular, but you should be able to accomplish this without a separate build step, and without having to copy over code built by the angular CLI. Since this project is built around Vite, try searching "angular vite" and you should find some examples of the basic setup, like this: https://medium.com/@hiepxanh/angular-vite-example-is-crazy-fast-3ee4d730020c You can think of each HTML page inside the extension as a regular Vite app. So following any basic Vite+Angular tutorial and adding the HTML file to the manifest should work just fine. |
Beta Was this translation helpful? Give feedback.
-
I've picked up a previously created extension used internally. It had multiple manifests and src files to be cross-browser aware so I was very happy to stumble upon this project.!
I'm adding an Options page to support some new features in the extension. My company is Angular shop so if I want to get others to help out I'm better of going with Angular. Following this guide I've add a sub-project for the Angular stuff so now I need to copy the generated files over to the main project or bundling by vite. Is there a way to copy files and rename them? Is it simply doing the work in the
vite.config.ts
?Are there any other tips to including Angular generated content in an extension or am I the first to do this?
Beta Was this translation helpful? Give feedback.
All reactions