JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q70862F
  • License MIT

This package is a client-side rendering framework for single page applications which gets along without virtual DOM

Package Exports

  • @sortex/koppa

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@sortex/koppa) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Koppa

This package Koppa is a Node version of Koppa.js! Koppa.js is a client-side rendering framework for single page applications which gets along without virtual DOM.

Overview

Here is a small overview what Koppa.js offers.

  1. Pages, Components (single File Templates)
  2. JS-Module (extend the functionality)
  3. Router
  4. templating
  5. live data

and many more...

Installing

Create a folder for your new project and go inside. Then open the console or the terminal and start your new node project.

npm init

Answer the steps.

After the project is initialized you now install koppa.

npm i @sortex/koppa

Getting Started

If you want to start with a predefined project structure.

npx koppa-startup

Now your project only needs the entry point, you create an index.js file in the root of your project. Then open the package.json file and change under main the specification to index.js if it is different.

Finally write this to the index.js file and save it.

const Koppa = require('@sortex/koppa');

Koppa(8080);

8080 is the port and can also be chosen in any other.