简体   繁体   English

使用预先存在的内置vue应用(dist)创建Tizen电视应用

[英]Tizen tv app creation using pre-existing built vue app(dist)

I built a vue(version 2) app that shows simple information from a db. 我构建了一个vue(第2版)应用,该应用显示了来自db的简单信息。 Its nothing fancy and has user input all it does is shows data. 它没什么花哨的,只有用户输入才可以显示数据。 It works on everything Ive tried and now I want to use a Tizen TV app to display it. 它可以在我尝试过的所有内容上正常运行,现在我想使用Tizen TV应用来显示它。 Ive put all files from my /dist folder into the Tizen project and when I run it on an emulator I get a white screen. 我已将/dist文件夹中的所有文件放入Tizen项目中,当我在模拟器上运行它时,出现白屏。 Ive checked the logs from the simulator but have no errors. 我已经检查了模拟器中的日志,但是没有错误。
Is it possible to integrate my built app into the Tizen app or do I need to re-write my application? 是否可以将内置的应用程序集成到Tizen应用程序中,或者我需要重新编写应用程序?
My Tizen app structure looks like this after copying all the files from my /dist folder to the project: 将所有文件从/dist文件夹复制到项目后,我的Tizen应用程序结构如下所示:
MyProject 我的项目
- static/ - 静态的/
- config.xml -config.xml
- iccn.png -iccn.png
- index.html -index.html
- service-worker.js -service-worker.js

Try debugging your app using Tizen Studio to see what's happening. 尝试使用Tizen Studio调试应用,以查看发生了什么。 Import the project into Tizen Studio and debug it. 将项目导入Tizen Studio并进行调试。 Please keep in mind that the simulator does not support the Samsung Tizen API's. 请记住,该模拟器不支持Samsung Tizen API。 You need to test/debug your app on the emulator. 您需要在模拟器上测试/调试您的应用程序。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM