@lwc/engine-server
Renders LWC components in a server environment.
Last updated a month ago by diervo .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @lwc/engine-server 
SYNC missed versions from official npm registry.

@lwc/engine-server

WARNING: This is an experimental package. It is subject to change, may be removed at any time, and should be used at your own risk!

This package can be used to render LWC components as strings in a server environment.

Supported APIs

This package supports the following APIs.

renderComponent()

This function renders a string-representation of a serialized component tree, given a tag name and an LWC constructor. The output format itself is aligned with the current leading proposal, but is subject to change.

import { renderComponent } from 'lwc';
import LightningHello from 'lightning/hello';

const componentProps = {};
const serialized = renderComponent('lightning-hello', LightningHello, componentProps);

Current Tags

  • 1.7.15-alpha3                                ...           canary (3 months ago)
  • 1.8.7                                ...           latest (a month ago)
  • 1.9.3                                ...           next (5 days ago)
  • 1.7.10-228.5                                ...           winter21 (2 months ago)

46 Versions

  • 1.9.3                                ...           5 days ago
  • 1.9.2                                ...           7 days ago
  • 1.9.1                                ...           14 days ago
  • 1.9.0                                ...           22 days ago
  • 1.8.8-alpha.3                                ...           25 days ago
  • 1.8.7                                ...           a month ago
  • 1.8.7-alpha.1                                ...           a month ago
  • 1.8.6-alpha.0                                ...           a month ago
  • 1.8.6                                ...           a month ago
  • 1.8.5                                ...           2 months ago
  • 1.8.4                                ...           2 months ago
  • 1.7.10-228.5                                ...           2 months ago
  • 1.7.10-228.4                                ...           2 months ago
  • 1.8.3                                ...           2 months ago
  • 1.7.10-228.3                                ...           2 months ago
  • 1.7.10-228.2                                ...           2 months ago
  • 1.8.2                                ...           2 months ago
  • 1.8.1                                ...           2 months ago
  • 1.8.0                                ...           2 months ago
  • 1.7.15-alpha3                                ...           3 months ago
  • 1.7.15-alpha2                                ...           3 months ago
  • 1.7.15-alpha1                                ...           3 months ago
  • 1.7.14-alpha4                                ...           3 months ago
  • 1.7.14-alpha3                                ...           3 months ago
  • 1.7.14-alpha2                                ...           3 months ago
  • 1.7.14                                ...           3 months ago
  • 1.7.14-alpha1                                ...           3 months ago
  • 1.7.13                                ...           3 months ago
  • 1.7.13-alpha1                                ...           3 months ago
  • 1.7.12                                ...           3 months ago
  • 1.7.11                                ...           3 months ago
  • 1.7.11-locker-alpha1                                ...           3 months ago
  • 1.7.10-228.1                                ...           4 months ago
  • 1.7.10                                ...           4 months ago
  • 1.7.9                                ...           4 months ago
  • 1.7.9-alpha2                                ...           4 months ago
  • 1.7.9-alpha1                                ...           4 months ago
  • 1.7.8                                ...           4 months ago
  • 1.7.7                                ...           4 months ago
  • 1.7.6                                ...           5 months ago
  • 1.7.5                                ...           5 months ago
  • 1.7.5-alpha1                                ...           5 months ago
  • 1.7.4                                ...           5 months ago
  • 1.7.3-lockerpreview-alpha1                                ...           5 months ago
  • 1.7.3                                ...           5 months ago
  • 1.7.3-alpha4                                ...           5 months ago
Downloads
Today 0
This Week 0
This Month 190
Last Day 0
Last Week 74
Last Month 421
Dependencies (0)
None
Dev Dependencies (2)
Dependents (1)

Copyright 2014 - 2016 © taobao.org |