kenhyuwa / litepie-datepicker

Litepie Datepicker is a date range picker component for Vue.js and Tailwind CSS, dependent to day.js.
https://litepie.com
MIT License
373 stars 75 forks source link

npm run prod issue #29

Closed bobking256 closed 3 years ago

bobking256 commented 3 years ago

When I perform npm run dev on my environment, this component works exactly as expected. Once I run npm run prod, this component does not display correctly when expanded. Functionally it works, visually it does not. The calendar essentially runs vertically down the page (not side by side calendar). Not sure why that is happening.

kenhyuwa commented 3 years ago

please make sure tailwind.config.js

module.exports = {
  purge: [
    path.resolve(__dirname, './node_modules/litepie-datepicker/**/*.js')
  ],
}