@nxtcode/appx
v1.0.2
Published
Lightweight Javascript library to build Single-Page applications with VanillaJS and Web Component API.
Downloads
4
Readme
Lightweight Javascript library to build Single-Page applications with VanillaJS and Web Component API.
- use Lit (https://lit.dev/) to efficiently render and update the DOM
- no dependencies from complex frameworks
- routing, state and themes management
- shadowDOM or not
- Components Library
- Templates Library
- Functional Library and Integrations
Installation and usage
- Install
- webpack users
- npm install
- createApp
webpack users
webpack users
npm install
npm install @code_xyz/appX
createApp
- In your app startup file (usually app.js or index.js)
import { App } from "@code_xyz/appX"
- Create a page template ( e.g. IndexTemplate.ts )
import { CustomElement, custom_element } from "@code_xyz/appX"