In this page
@greycat/web
Install
Add the dependency to your project:
pnpm install https://get.greycat.io/files/sdk/web/7.4/7.4.22-stable.tgz
Update with the latest version
Usage
import { GreyCat } from '@greycat/web';
import '@greycat/web/css/greycat.css';
globalThis.greycat.default = await GreyCat.init();
Dev
Start the GreyCat demo server:
cd pages
greycat serve
Start the Web dev server:
pnpm dev
Open your browser at http://localhost:5173/
v7 Breaking changes:
- Removed
gui-enum-select, replaced withgui-input-enum gui-searchable-selectno longer trigger'gui-searchable-change'events, replaced with the new'gui-change'event