Skip to content

datathings/greycat-sdk-web

Repository files navigation

@greycat/web

Documentation

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 with gui-input-enum
  • gui-searchable-select no longer trigger 'gui-searchable-change' events, replaced with the new 'gui-change' event

Releases

No releases published

Packages

 
 
 

Contributors