-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make ngx-skeleton-loader standalone compliant #158
Comments
Could somebody show how you use this component with standalone components, the above mentions ImportFromProviders, what is that and how is it implemented? I've tried importFromProviders in my component route but I still cannot use the skeleton component in my component? |
Just in case anybody arrives here trying to use the component in standalone components... Add the importProvidersFrom function call into your
Then simply import the |
Thanks for sharing this @caboodal . There's a working in progress to integrate this feature. Until it didn't get finished, here's the approach to integrate in Angular Apps |
I'm submitting a ... (check one with "x")
Current behavior
using ngx-skeleton-loader in a standalone app requires to import the module requires using ImportFromProviders
Expected behavior
import ngx-skeleton loader in standalone way, that is with a function like provideSkeletonLoader({config: configOptions})
What is the motivation / use case for changing the behavior?
As Angular evolves, modules are being stripped off, favoring direct import of components/services
Please tell us about your environment:
we use Angular 16, ubuntu 20, npm
web server is nginx and backend is in go
The text was updated successfully, but these errors were encountered: