Fix readme and required minimum version
This commit is contained in:
@@ -40,11 +40,12 @@ export default defineAppConfig({
|
||||
Then use the `analytics` import to report events:
|
||||
|
||||
```ts
|
||||
import { analytics } from '@wxt-dev/analytics';
|
||||
import { analytics } from '#analytics';
|
||||
|
||||
await analytics.track('some-event');
|
||||
await analytics.page();
|
||||
await analytics.identify('some-user-id');
|
||||
analytics.autoTrack(document.body);
|
||||
```
|
||||
|
||||
## Providers
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
"prepare": "wxt prepare"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"wxt": ">=0.18.14"
|
||||
"wxt": ">=0.19.9"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@aklinker1/check": "^1.3.1",
|
||||
|
||||
Reference in New Issue
Block a user