An open API service indexing awesome lists of open source software.

https://github.com/vanillawc/wc-template

Template HTML with tagged template literals
https://github.com/vanillawc/wc-template

literal tagged template vanilla web-components

Last synced: 12 months ago
JSON representation

Template HTML with tagged template literals

Awesome Lists containing this project

README

          

<wc-template> Tagged Template Literals in HTML


GitHub Releases
NPM Releases
Bundlephobia
Latest Status
Release Status

Discord
Published on WebComponents.org

## Installation

*Installation*
```sh
npm i @vanillawc/wc-template
```

*Import from NPM*
```html

```

*Import from CDN*
```html

```

## Demo

Try it on [WebComponents.dev](https://webcomponents.dev/edit/BggRSZ5D4tmsyce94mpB?sv=1&pm=1)

## Usage

**Attributes**

- `src` - load an external source file
- `context` - load the tags from an external endpoint

### Basic Usage

```html

```

## Context

If the template is a tagged template literal, context can be provided via an external endpoint.

```html

```

## Contributing

See [CONTRIBUTING.md](https://github.com/vanillawc/vanillawc/blob/main/CONTRIBUTING.md)