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

Add Prefix for compatibility with tailwind [Bug] #401

Closed
sofyanlabs opened this issue Dec 16, 2019 · 2 comments
Closed

Add Prefix for compatibility with tailwind [Bug] #401

sofyanlabs opened this issue Dec 16, 2019 · 2 comments

Comments

@sofyanlabs
Copy link

** Tailwind CSS **

When I use your CSS, there is a problem with tailwind CSS because it has the same class selector
MX-like margin in tailwind

@mengxiong10
Copy link
Owner

I'll add a prop prefixClass, then you can use it like this.

<date-picker prefix-class="test" />
$namespace: 'test';

@import '~vue2-datepicker/scss/index.scss';

mengxiong10 added a commit that referenced this issue Dec 17, 2019
@mengxiong10
Copy link
Owner

v3.3.0 added it.

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

2 participants