@lwc/engine-server
Renders LWC components in a server environment.
Last updated 2 months ago by lwc-admin .
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.11.0-232.1                                ...           canary (4 days ago)
  • 1.11.3                                ...           latest (2 days ago)
  • 1.11.4                                ...           next (5 hours ago)
  • 1.9.3-230.1                                ...           spring21 (16 days ago)
  • 1.7.10-228.5                                ...           winter21 (4 months ago)

62 Versions

  • 1.11.4                                ...           5 hours ago
  • 1.11.3                                ...           2 days ago
  • 1.11.2                                ...           2 days ago
  • 1.11.0-232.1                                ...           4 days ago
  • 1.11.1                                ...           5 days ago
  • 1.10.1-232.1                                ...           6 days ago
  • 1.11.0                                ...           13 days ago
  • 1.10.1                                ...           14 days ago
  • 1.9.3-230.1                                ...           16 days ago
  • 1.10.0                                ...           a month ago
  • 1.9.8                                ...           a month ago
  • 1.9.8-alpha.0                                ...           a month ago
  • 1.9.7                                ...           a month ago
  • 1.9.6                                ...           2 months ago
  • 1.9.5                                ...           2 months ago
  • 1.9.4                                ...           2 months ago
  • 1.9.3                                ...           2 months ago
  • 1.9.2                                ...           2 months ago
  • 1.9.1                                ...           2 months ago
  • 1.9.0                                ...           3 months ago
  • 1.8.8-alpha.3                                ...           3 months ago
  • 1.8.7                                ...           3 months ago
  • 1.8.7-alpha.1                                ...           3 months ago
  • 1.8.6-alpha.0                                ...           3 months ago
  • 1.8.6                                ...           3 months ago
  • 1.8.5                                ...           3 months ago
  • 1.8.4                                ...           4 months ago
  • 1.7.10-228.5                                ...           4 months ago
  • 1.7.10-228.4                                ...           4 months ago
  • 1.8.3                                ...           4 months ago
  • 1.7.10-228.3                                ...           4 months ago
  • 1.7.10-228.2                                ...           4 months ago
  • 1.8.2                                ...           4 months ago
  • 1.8.1                                ...           4 months ago
  • 1.8.0                                ...           4 months ago
  • 1.7.15-alpha3                                ...           4 months ago
  • 1.7.15-alpha2                                ...           4 months ago
  • 1.7.15-alpha1                                ...           5 months ago
  • 1.7.14-alpha4                                ...           5 months ago
  • 1.7.14-alpha3                                ...           5 months ago
  • 1.7.14-alpha2                                ...           5 months ago
  • 1.7.14                                ...           5 months ago
  • 1.7.14-alpha1                                ...           5 months ago
  • 1.7.13                                ...           5 months ago
  • 1.7.13-alpha1                                ...           5 months ago
  • 1.7.12                                ...           5 months ago
  • 1.7.11                                ...           5 months ago
  • 1.7.11-locker-alpha1                                ...           5 months ago
  • 1.7.10-228.1                                ...           6 months ago
  • 1.7.10                                ...           6 months ago
  • 1.7.9                                ...           6 months ago
  • 1.7.9-alpha2                                ...           6 months ago
  • 1.7.9-alpha1                                ...           6 months ago
  • 1.7.8                                ...           6 months ago
  • 1.7.7                                ...           6 months ago
  • 1.7.6                                ...           6 months ago
  • 1.7.5                                ...           7 months ago
  • 1.7.5-alpha1                                ...           7 months ago
  • 1.7.4                                ...           7 months ago
  • 1.7.3-lockerpreview-alpha1                                ...           7 months ago
  • 1.7.3                                ...           7 months ago
  • 1.7.3-alpha4                                ...           7 months ago
Downloads
Today 23
This Week 244
This Month 367
Last Day 207
Last Week 80
Last Month 347
Dependencies (0)
None
Dev Dependencies (2)
Dependents (1)

Copyright 2014 - 2017 © taobao.org |