@quicktvui/web-cli 1.0.0-beta.10 → 1.0.0-beta.11

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.
@@ -1,10 +1,10 @@
1
1
  // @quicktvui/web-cli - web entry (package)
2
2
  // 此文件由 CLI 自动加载,使用 @quicktvui/web-renderer 包
3
- // 主入口路径通过 __QUICKTVUI_MAIN_ENTRY__ 注入
3
+ // 主入口路径通过 webpack 多入口配置自动加载,无需在此处 import
4
4
  //
5
- // 初始化流程参考 main-web.js,直接使用 web-renderer 导出的函数
5
+ // 初始化流程参考 main-web.js
6
6
 
7
- console.log('[Web Renderer] === Starting initialization ===')
7
+ console.log('[Web Renderer] === Starting initialization (package) ===')
8
8
 
9
9
  // 直接从 @quicktvui/web-renderer 导入所有需要的函数
10
10
  import {
@@ -64,14 +64,12 @@ styleEl.textContent = `
64
64
  document.head.appendChild(styleEl)
65
65
  console.log('[Web Renderer] Global CSS reset injected for Android-compatible layout')
66
66
 
67
- // Step 6: Import main module (this will initialize Vue app and router)
68
- console.log('[Web Renderer] Importing main module...')
69
- import(__QUICKTVUI_MAIN_ENTRY__)
67
+ // 注意:主入口文件已通过 webpack 多入口配置自动加载,无需在此处 import
70
68
 
71
- // Step 7: Start the engine
69
+ // Step 6: Start the engine
72
70
  console.log('[Web Renderer] Starting engine...')
73
71
  startWebEngine(engine, APP_NAME)
74
72
 
75
73
  setTimeout(() => {
76
74
  console.log('[Web Renderer] === Initialization complete ===')
77
- }, 1000)
75
+ }, 1000)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quicktvui/web-cli",
3
- "version": "1.0.0-beta.10",
3
+ "version": "1.0.0-beta.11",
4
4
  "description": "CLI tool for QuickTVUI web development - zero configuration",
5
5
  "author": "QuickTVUI Team",
6
6
  "license": "Apache-2.0",