Comments (2)
Actually I can find the styles in both plugin and cdn stylesheet. Also our demo page is built the same way as in the instruction guide. Which mode of installation did you choose? Can you share the code of your app?
from bootstarters.
I see, this is probably a mistake on my side, as I didn't include the cdn stylesheet, I've thought it would somehow get spitted out in the output.css if I went with the NPM way of tailwind elements (https://tailwind-elements.com/quick-start/) and tailwind cli for tailwindcss (https://tailwindcss.com/docs/installation)
If it's mandary to include the cdn, feel free to close this issue, as it's resolved then.
If it's not, then here's as minimal setup as possible with the same result as above.
index.html
<!DOCTYPE html>
<html>
<head>
<link href="../dist/output.css" rel="stylesheet">
</head>
<body>
<div class="flex justify-center">
<div class="timepicker relative form-floating mb-3 xl:w-96" data-mdb-with-icon="false" id="input-toggle-timepicker">
<input type="text"
class="form-control block w-full px-3 py-1.5 text-base font-normal text-gray-700 bg-white bg-clip-padding border border-solid border-gray-300 rounded transition ease-in-out m-0 focus:text-gray-700 focus:bg-white focus:border-blue-600 focus:outline-none"
placeholder="Select a date" data-mdb-toggle="input-toggle-timepicker" />
<label for="floatingInput" class="text-gray-700">Select a time</label>
</div>
</div>
<script src="../node_modules/tw-elements/dist/js/index.min.js"></script>
</body>
</html>
input.css
@tailwind base;
@tailwind components;
@tailwind utilities;
tailwind.config.js
module.exports = {
content: ['./src/**/*.{html,js}', './node_modules/tw-elements/dist/js/**/*.js'],
plugins: [
require('tw-elements/dist/plugin')
]
}
The folder structure is as follows
.
├── dist
│ └── output.css
├──node_modules
│ └── ...
├── package.json
├── package-lock.json
├── src
│ ├── index.html
│ └── input.css
└── tailwind.config.js
from bootstarters.
Related Issues (6)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bootstarters.