https://github.com/jl917/rspress-plugin-clarity
https://github.com/jl917/rspress-plugin-clarity
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/jl917/rspress-plugin-clarity
- Owner: jl917
- License: mit
- Created: 2024-05-14T23:43:05.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-05-18T12:27:00.000Z (over 1 year ago)
- Last Synced: 2024-11-11T20:35:17.554Z (about 1 year ago)
- Language: TypeScript
- Size: 108 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
- awesome-rstack - rspress-plugin-clarity
README
# rspress-plugin-clarity 
Rspress plugin for [Clarity](https://clarity.microsoft.com/) integration.
## Usage
```bash
npm i rspress-plugin-clarity
yarn add rspress-plugin-clarity
pnpm add rspress-plugin-clarity
```
```ts
import { defineConfig } from 'rspress/config';
import clarity from 'rspress-plugin-clarity';
export default defineConfig({
plugins: [
clarity("projectId"),
],
});
```
## Configure
### projectId
Clarity project ID.
- Type: `string`
- Required