Poc that can be used as an example of a VueJs project running on Samsung TVs with Tizen OS
The main point that allows to run the VueJs project (and any other Js project) is the fact that the WebPack is not configured to use chunks
You can use some messaging service, like FCM or AWS SNS or Sockets with lib socket.io to communicate the app over the internet
https://developer.tizen.org/development/tizen-studio/web-tools/cli
or
tizen help
webpack-dev-server --hot --mode development
Na pasta tizenProject
tizen package -t wgt -s febatis
tizen install -n tizenProject.wgt -- /Users/lucasbatista/Projetos/Pessoais/vuejs/vue-webpack/tizenProject
Ver processos na porta 26099
sudo lsof -i:26099
Matar processos
kill <pid>
yarn build-prod
cp -av dist tizenProject
tizen list <option>
native-project
: Show native project template list
web-project
: Show web project template list
rootstrap
: Show rootstrap list tizen list
sdb devices
tizen create <sub-command> [options]
Sample: tizen create web-project -n client -t BasicEmptyProject -p tv-samsung-5.0
webpack-dev-server --hot --mode development
Server listen on: localhost:808x
npm run build-prod
output: ./dist
tizen package -t wgt
tizen install -n <wgt_file> -- <build_output>
First install dependencies:
npm install
To create a production build:
npm run build-prod
To create a development build:
npm run build-dev
node dist/bundle.js
Made with createapp.dev