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

Tailwind 3 support #53

Closed
ahmedkandel opened this issue Dec 24, 2021 · 14 comments · Fixed by #58
Closed

Tailwind 3 support #53

ahmedkandel opened this issue Dec 24, 2021 · 14 comments · Fixed by #58

Comments

@ahmedkandel
Copy link

Hi,

Thanks for the great package,

It there a plan to support Tailwind 3 as i get this error while installing:

npm ERR! While resolving: undefined@undefined
npm ERR! Found: tailwindcss@3.0.7
npm ERR! node_modules/tailwindcss
npm ERR!   dev tailwindcss@"^3.0.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer tailwindcss@"^2.0.3" from litepie-datepicker@1.0.14
npm ERR! node_modules/litepie-datepicker
npm ERR!   litepie-datepicker@"*" from the root project

Thanks.

@EmilMoe
Copy link

EmilMoe commented Jan 15, 2022

Yep. Rather strange nothing added on this one.

@syamsoul
Copy link

looks like lately the author seems not so active...

@EmilMoe
Copy link

EmilMoe commented Jan 26, 2022

I went with this https://vue3datepicker.com

@elreco
Copy link
Contributor

elreco commented Jan 31, 2022

You can use it : https://www.npmjs.com/package/litepie-datepicker-tw3
if you don't want to wait for a @kenhyuwa update :)

@CrisOspina
Copy link

You can use it : https://www.npmjs.com/package/litepie-datepicker-tw3 if you don't want to wait for a @kenhyuwa update :)

Hi @elreco,

image

Not all CSS is working fine, is it working for you?

@kawoki
Copy link

kawoki commented Feb 5, 2022

@CrisOspina can you share your code, package.json, main.js and tailwind.config.js?

@CrisOspina
Copy link

@CrisOspina can you share your code, package.json, main.js and tailwind.config.js?

Hi @kawoki

Yes, code, package.json and tailwind.config

@kawoki
Copy link

kawoki commented Feb 7, 2022

@CrisOspina try editing your tailwind.config.js

content: [
    './index.html',
    './public/**/*.html',
    './src/**/*.{ts,vue}',
    path.resolve(__dirname, './node_modules/litepie-datepicker/**/*.js') // this line here should be litepie-datepicker-tw3
  ],

@CrisOspina
Copy link

CrisOspina commented Feb 7, 2022

@CrisOspina try editing your tailwind.config.js

content: [
    './index.html',
    './public/**/*.html',
    './src/**/*.{ts,vue}',
    path.resolve(__dirname, './node_modules/litepie-datepicker/**/*.js') // this line here should be litepie-datepicker-tw3
  ],

Thanks @kawoki

@EmilMoe
Copy link

EmilMoe commented Feb 20, 2022

I seem to be missing hover and focus/active styles, any of you experience this?

image

@EmilMoe
Copy link

EmilMoe commented Feb 20, 2022

I seem to be missing hover and focus/active styles, any of you experience this?

Nevermind: https://litepie.com/#configure-with-tailwind

@lk77
Copy link

lk77 commented Apr 25, 2022

For me it does not seems to work

Screenshot from 2022-04-25 15-57-48

i don't like the idea to modify my tailwind config to make it works,
i think you should provide a css file with everything you need, that the end user could include.

I don't have mt-1.5 for example but mt-1 and mt-2, and there is a lot of other classes that i don't have in my theme

@brandonleichty
Copy link

brandonleichty commented Jun 11, 2022

It’s a bummer the author created one of the most beautiful date pickers out there and then abandoned maintaining it almost immediately. 😭

@lk77
Copy link

lk77 commented Jun 13, 2022

In the end i used @vuepic/vue-datepicker instead, as i could not make this one work with my custom tailwind theme

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

Successfully merging a pull request may close this issue.

8 participants