@rxdrag/website-lib-core 0.0.14 → 0.0.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rxdrag/website-lib-core",
3
- "version": "0.0.14",
3
+ "version": "0.0.15",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": "./index.ts"
@@ -24,10 +24,10 @@
24
24
  "@types/react-dom": "^18.2.7",
25
25
  "eslint": "^7.32.0",
26
26
  "typescript": "^5",
27
+ "@rxdrag/tsconfig": "0.2.0",
27
28
  "@rxdrag/entify-hooks": "0.2.43",
28
- "@rxdrag/slate-preview": "1.2.56",
29
29
  "@rxdrag/eslint-config-custom": "0.2.12",
30
- "@rxdrag/tsconfig": "0.2.0"
30
+ "@rxdrag/slate-preview": "1.2.56"
31
31
  },
32
32
  "dependencies": {
33
33
  "clsx": "^2.1.0",
@@ -92,6 +92,7 @@ export class PageLoader implements IPageLoader {
92
92
 
93
93
  // 只监听一个事件,优先使用 astro:page-load
94
94
  if (typeof window !== "undefined") {
95
+ console.log("===>注册事件监听器 page load");
95
96
  // 在客户端环境中
96
97
  this.doc.addEventListener("astro:page-load", handleEvent, {
97
98
  //once: true,