优化
This commit is contained in:
1
apps/widget/demo/.gitignore
vendored
Normal file
1
apps/widget/demo/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.parcel-cache/
|
||||
22
apps/widget/demo/index.html
Normal file
22
apps/widget/demo/index.html
Normal file
@@ -0,0 +1,22 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Tailchat Widget Demo</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<script type="module">
|
||||
import { createTailchatWidget } from '../lib/index.js';
|
||||
|
||||
createTailchatWidget({
|
||||
groupId: '611e4e18d3e846001bd0223a',
|
||||
panelId: '611e4e18d3e846001bd02239',
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
19
apps/widget/demo/package.json
Normal file
19
apps/widget/demo/package.json
Normal file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"name": "tailchat-widget-demo",
|
||||
"version": "1.0.0",
|
||||
"source": "index.html",
|
||||
"main": "dist/index.js",
|
||||
"repository": "https://github.com/msgbyte/tailchat.git",
|
||||
"author": "moonrailgun <moonrailgun@gmail.com>",
|
||||
"license": "MIT",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"start": "parcel serve index.html --no-cache"
|
||||
},
|
||||
"devDependencies": {
|
||||
"typescript": "^4.4.4"
|
||||
},
|
||||
"dependencies": {
|
||||
"parcel": "^2.0.0"
|
||||
}
|
||||
}
|
||||
4535
apps/widget/demo/yarn.lock
Normal file
4535
apps/widget/demo/yarn.lock
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user