Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 647 Bytes

README.md

File metadata and controls

28 lines (21 loc) · 647 Bytes

Really Flexible Modals with TailwindCSS!

Includes tooltips that work harmoniously with the modals.

Find the documentation on the library's demo site

Installation Guide

npm install @nelhoa/svelte-modals

For the modals to work correctly, your project must use TypeScript.

Modify your tailwind.config.js file to include the svelte-modals library:

/** @type {import('tailwindcss').Config} */
export default {
  content: ['./src/**/*.{html,js,svelte,ts}',
    './node_modules/@nelhoa/**/*.{html,js,svelte,ts}'
  ],
  theme: {
    extend: {},
  },
  plugins: [],
}