Demo Module
This is a demo module for the Glide UX system.
Getting Started
npm install
npm start
Your module will be available at http://localhost:4000
Building & Publishing
Development
npm run build
npm run build:types
npm run lint
npm run test
TypeScript Types
This module generates TypeScript declaration files automatically. The types are built to dist/ and can be imported:
import { ExampleComponent } from '@glideapps/demo-module';
import type { ExampleComponentProps } from '@glideapps/demo-module';
Publishing
The module is configured for npm publishing with:
- TypeScript types included (
dist/index.d.ts)
- Proper exports for both CommonJS and ES modules
- Public access configuration
To publish:
npm publish
CSS Setup
This module uses Glide UX components with pre-compiled styles. The CSS is automatically included when you import from @glideapps/ux/library/styles in your main entry point.
The module includes Tailwind CSS for your custom styling needs. You can customize the theme by editing tailwind.config.js.
Glide UX Modules library
This was generated by the Glide UX modules CLI. See more docs at https://github.com/glideapps/glide-ux-modules/