- For local development, uncomment SOS code then
npm run serve
- For preview in emulator use
npm run dev
and runnpm run start
afterwards. Each change requires you to restart the applet
This step must be done once after cloning (setting up) your signageos applet repository.
- Ensure you have an active https://box.signageos.io account!
npm install @signageos/cli -g
now thesos
is gloabally availablesos login
sos organization set-default
- Use es5 check
"es5": "npx es-check es5 dist/**/*.js"
vianpm run es5
(build the project first usingnpm run build
otherwise the dist folder is empty) - Don't use vue3
- Remove
type="module"
from index.html if present in dist or public folder - When having problems with preview emulator, log in into the box and remove all applets from the emulator first, then run
npm run dev
andnpm run start
afterwards. - (Seems to be fixed) Box applet error
entry file not found
"solution": add or remove a space at the end of any line in the package.json file then build and reuoload again.