edit data for a templates


Keywords
template, website, builder, editor, data, representation
License
CC-BY-3.0
Install
npm install website-builder@1.0.317

Documentation

Project status

npm version downloads build status code coverage dependencies development dependencies peer dependencies documentation website

Use cases

Use cases:

  1. Open single page and edit directly by providing data (parameter) and in place text content!
  2. Open a prerendered frontend template in backend to see preview with live in place and parameter editing
  3. Open a complete rendered template with current application state in frontend.

Steps to prepare:

  1. weboptimizer gives 1 and 2 or 3 and 4 (with or without static parameter) compile step file results. We get two files: templateFunction and (maybe prerendered) template
  2. on applicationState changes it renders templateFunction(applicationState) to plain html for static frontend
  3. on backend live editing the backend shows the template in iframe and renders current state instantly

Content

[TOC]

Installation

TODO