Skip to content

Commit

Permalink
chore: update dependencies and file paths
Browse files Browse the repository at this point in the history
  • Loading branch information
productdevbook committed Apr 3, 2024
1 parent 2ef3485 commit ad82a74
Show file tree
Hide file tree
Showing 7 changed files with 489 additions and 970 deletions.
6 changes: 0 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
<img src="https://img.shields.io/github/stars/productdevbookcom/chatwoot.svg?style=social&label=Star&maxAge=2592000" alt="Github Stars"> </a>
</p>


This module productdevbook team created.

> [ChatWoot](https://www.chatwoot.com/help-center) integration for [Vue](https://vuejs.org)
Expand Down Expand Up @@ -59,7 +58,6 @@ app.use(chatwoot)

- [▶️ &nbsp;Online playground](https://stackblitz.com/github/productdevbookcom/chatwoot/tree/main/demo/nuxt3)


```ts
export default defineNuxtConfig({
modules: [
Expand Down Expand Up @@ -114,15 +112,13 @@ const { isModalVisible, toggle, toggleBubbleVisibility, popoutChatWindow } = use
</template>
```


## Init Default

| Option | Type | Description | Default |
| -------------- | -------- | ----------------------------------------------------------------- | ------------------------ |
| websiteToken | `string` | The token given to you when you create a chat widget. | |
| baseUrl | `bool` | Your site's domain, as declared by you in Chatwoot's settings | `https://app.chatwoot.com` |


## useChatWoot

`useChatWoot()` accepts some
Expand All @@ -149,8 +145,6 @@ const { isModalVisible, toggle, toggleBubbleVisibility, popoutChatWindow } = use
</a>
</p>



## 💻 Development

- Clone this repository
Expand Down
6 changes: 3 additions & 3 deletions demo/vue3/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"compilerOptions": {
"target": "ESNext",
"lib": ["ESNext", "DOM"],
"jsx": "preserve",
"lib": ["ESNext", "DOM"],
"useDefineForClassFields": true,
"module": "ESNext",
"moduleResolution": "Node",
"resolveJsonModule": true,
"strict": true,
"noEmit": true,
"isolatedModules": true,
"esModuleInterop": true,
"strict": true,
"isolatedModules": true,
"skipLibCheck": true
},
"references": [{ "path": "./tsconfig.node.json" }],
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,22 +76,22 @@
"defu": "^6.1.4"
},
"devDependencies": {
"@antfu/eslint-config": "1.0.0-beta.18",
"@antfu/eslint-config": "2.12.1",
"@nuxt/module-builder": "^0.5.5",
"@nuxt/schema": "^3.11.1",
"@nuxt/test-utils": "^3.12.0",
"@types/node": "^20.12.3",
"@vitest/coverage-v8": "^0.34.6",
"@vitest/coverage-v8": "^1.4.0",
"@vue/test-utils": "^2.4.5",
"bumpp": "^9.4.0",
"eslint": "^8.57.0",
"happy-dom": "^12.10.3",
"happy-dom": "^14.3.10",
"nuxt": "^3.11.1",
"tsx": "^3.14.0",
"tsx": "^4.7.1",
"typescript": "^5.4.3",
"unbuild": "^2.0.0",
"unconfig": "^0.3.12",
"vitest": "^0.34.6",
"vitest": "^1.4.0",
"vue": "^3.4.21"
},
"resolutions": {
Expand Down
6 changes: 3 additions & 3 deletions playground-vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
},
"devDependencies": {
"@productdevbook/chatwoot": "link:..",
"@vitejs/plugin-vue": "^4.6.2",
"@vitejs/plugin-vue": "^5.0.4",
"typescript": "^5.4.3",
"vite": "^4.5.3",
"vue-tsc": "^1.8.27"
"vite": "^5.2.7",
"vue-tsc": "^2.0.7"
}
}
8 changes: 4 additions & 4 deletions playground-vue/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
{
"compilerOptions": {
"target": "ES2020",
"lib": ["ES2020", "DOM", "DOM.Iterable"],
"jsx": "preserve",
"lib": ["ES2020", "DOM", "DOM.Iterable"],
"useDefineForClassFields": true,
"module": "ESNext",

/* Bundler mode */
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
"resolveJsonModule": true,
"noEmit": true,
"isolatedModules": true,
"allowImportingTsExtensions": true,

/* Linting */
"strict": true,
"noFallthroughCasesInSwitch": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noEmit": true,
"isolatedModules": true,
"skipLibCheck": true
},
"references": [{ "path": "./tsconfig.node.json" }],
Expand Down
Loading

0 comments on commit ad82a74

Please sign in to comment.