Skip to content
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

Problem Importing into Angular 12 #13

Closed
KailanySousa opened this issue Jul 16, 2021 · 5 comments
Closed

Problem Importing into Angular 12 #13

KailanySousa opened this issue Jul 16, 2021 · 5 comments
Assignees

Comments

@KailanySousa
Copy link

Hi guys,

I needed to use slidetoggle in an angular project in version 12, but when importing as shown by the documentation I got an error, which said that it was not possible to find the module reference.

I managed to import as follows in my .ts file:

import { slideToggle } from 'slidetoggle/dist/esm';

It would be nice if you had this option in the readme or validate this problem.

@maiconkistemmacher
Copy link

Thanks, it worked for me!

@Arthurferrera
Copy link

Hi guys,

I needed to use slidetoggle in an angular project in version 12, but when importing as shown by the documentation I got an error, which said that it was not possible to find the module reference.

I managed to import as follows in my .ts file:

import { slideToggle } from 'slidetoggle/dist/esm';

It would be nice if you had this option in the readme or validate this problem.

Hello it works here too thank you

@moises-alphacode
Copy link

Thank you so much!

@zgrybus
Copy link
Owner

zgrybus commented Jul 17, 2021

Hi guys,

I needed to use slidetoggle in an angular project in version 12, but when importing as shown by the documentation I got an error, which said that it was not possible to find the module reference.

I managed to import as follows in my .ts file:

import { slideToggle } from 'slidetoggle/dist/esm';

It would be nice if you had this option in the readme or validate this problem.

Thanks.
I will fix it in the next version that I've been already working on.

I will close this issue, when it will be fixed.

@zgrybus zgrybus self-assigned this Jul 19, 2021
@zgrybus
Copy link
Owner

zgrybus commented Jul 25, 2021

Fixed in #14

@zgrybus zgrybus closed this as completed Jul 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants