Sciterjs Svelte Template screenshot

Sciterjs Svelte Template

Author Avatar Theme by Jsprog
Updated: 24 Nov 2020
14 Stars

Overview

The sciterjs-svelte-template is a template that brings the popular Svelte.js template to the Sciter.js framework. The main goals of this template are to retain compatibility with web browsers, detect missing features required by Sciter.js and polyfill them, provide structure for other polyfills needed by developers, and offer limited patching for content before it lands into ./public/build/bundle.js. However, the template does not currently include livereload functionality.

Features

  • Retains compatibility with web browsers
  • Detects missing features required by Sciter.js and polyfills them
  • Provides structure for other polyfills needed by developers
  • Offers limited patching for content before it lands into ./public/build/bundle.js

Installation

To use the sciterjs-svelte-template, follow these steps:

  1. Get the full sciter-js-sdk or only the binaries.
  2. Change permissions for “scapp” to allow execution. Note that you should match this with your platform.
  3. Get a copy of this template.
  4. Open package.json and match the path of “scapp” script to “scapp” executable.
  5. Start the app in production mode.
  6. Start the app in development mode.
  7. Start the development server.
  8. From a different terminal, start the app.
  9. If you need to test with standalone examples or recreate a bug, keep your project clean and write separate HTML files for testing.

Summary

The sciterjs-svelte-template brings the Svelte.js template to the Sciter.js framework, allowing developers to use the features of Svelte.js while maintaining compatibility with web browsers. The template provides various features such as polyfilling missing Sciter.js features, offering limited patching functionality, and providing structure for other polyfills needed by developers. However, the template currently does not include livereload functionality.