Note: A CDN link won't work here because we need to modify the default Vendor CSS to fit FlyonUI's design.
3
Update Tailwind Configuration
To enable CSS overrides, include the path to the vendor JS files in the content section of your Tailwind configuration file. Additionally, set vendors="true" in the FlyonUI config to ensure the override CSS is generated:
module.exports= {
content: [
'../path/to/node-waves/**/*.js', // Include all relevant JS files from node-waves
],
flyonui: {
vendors:true// Enable vendor-specific CSS generation
}
}
4
Initialize Waves
Add the initialization JavaScript code for Waves after including the Waves JS library. Set up an event listener on any element to trigger the Waves instance. Ensure this Waves JS file is monitored by TailwindCSS, as described in step 3.
For more options and detailed configurations, refer to the Waves documentation .
Discover the features and benefits that our service offers. Enhance your experience with our user-friendly
platform designed to meet all your needs.
<divclass="card waves waves-primary sm:max-w-sm">
<divclass="card-body">
<h5class="card-title mb-2.5">Welcome to Our Service</h5>
<p>
Discover the features and benefits that our service offers. Enhance your experience with our user-friendly
platform designed to meet all your needs.
</p>
</div>
</div>