Code Monkey home page Code Monkey logo

Comments (5)

sajermann avatar sajermann commented on May 13, 2024

I have same problem in React without Nextjs (With Vite)

"react": "^18.0.0", "react-dom": "^18.0.0", "tw-elements": "^1.0.0-alpha12"

tailwind.config.js

module.exports = { darkMode: 'class', content: [ './src/**/*.tsx', './src/**/*.{html,js}', './node_modules/tw-elements/dist/js/**/*.js', ], theme: { extend: { colors: { brand: { 300: '#996DFF', 500: '#8257e6', }, }, borderRadius: { md: '4px', }, }, }, plugins: [require('tw-elements/dist/plugin'), require('tailwind-scrollbar')], };

index.html > <script src="node_modules/tw-elements/dist/js/index.min.js"></script>

from tw-elements.

riesga avatar riesga commented on May 13, 2024

Any solution?

from tw-elements.

sageworksstudio avatar sageworksstudio commented on May 13, 2024

https://tailwind-elements.com/docs/standard/forms/datepicker/

The example text is wrong. <input type="text" should be <input type="date"

from tw-elements.

Twansparant avatar Twansparant commented on May 13, 2024

No it should be type="text" otherwise it will use the browser default datepicker.
Could it be the underlying MDB Datepicker is only available on the MDB Pro Essential package?

from tw-elements.

Trochonovitz avatar Trochonovitz commented on May 13, 2024

Hi, we just have launched bunch of integration tutorials - both with CSR and SSR frameworks. If you have more questions about integration or you still got some problems with particular components, let us know by adding new issue / topic in discussions section (if there are some unclrear informations or just want let us know about something).

Next.js integration tutorial.

from tw-elements.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.