N
Novu2y ago
empe

Using the headless notification center library with Ruby on Rails, Django or Laravel

According to the documentation, "users can easily incorporate our notification system into any framework or vanilla JavaScript project," and I just wanted to ensure that it includes non-javascript/typescript frameworks.
11 Replies
Prosper
Prosper2y ago
@biswaviraj Does the headless work with a bundled version? One where I don't have to do an npm install?
BiswaViraj
BiswaViraj2y ago
No, it won't work on non-js/ts env, currently to use headless package, one needs to install it with npm. For those scenarios, one can use the web component. Also, if needed we can bundle the headless package and serve it via CDN, enabling anyone to use it.
empe
empeOP2y ago
It would be great
Prosper
Prosper2y ago
It would be great for us to bundle the headless package and serve it via CDN. As a Laravel developer, I will love to be able to also use headless
BiswaViraj
BiswaViraj2y ago
@dimagrossman I think we should serve it via CDN then
Dima Grossman
Dima Grossman2y ago
Sounds like a good idea @biswaviraj submit a linear task for it?
empe
empeOP2y ago
Once it is served via CDN, how do you implement this with Laravel? Can you give me an example of an service package you've used this way?
BiswaViraj
BiswaViraj2y ago
it will be similar to how web component is used
<script src="https://novu-web-component.netlify.app/index.js"></script>
<script src="https://novu-web-component.netlify.app/index.js"></script>
Prosper
Prosper2y ago
Exactly! Just a drop in script like this
empe
empeOP2y ago
Thank you both! I think it would be amazing addition that will open countless doors
Want results from more Discord servers?
Add your server