https://github.com/ymzuiku/vanilla-htmljs
Only use html`` create string
https://github.com/ymzuiku/vanilla-htmljs
Last synced: about 2 months ago
JSON representation
Only use html`` create string
- Host: GitHub
- URL: https://github.com/ymzuiku/vanilla-htmljs
- Owner: ymzuiku
- License: mit
- Created: 2020-05-29T09:28:42.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-08-12T12:40:43.000Z (over 3 years ago)
- Last Synced: 2025-02-22T00:17:46.448Z (2 months ago)
- Language: JavaScript
- Size: 24.4 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# vanilla-html
> Size 400b
## Install
```sh
$ npm install --save vanilla-htmljs
```## Use BEM css
```js
import html from "vanilla-htmljs";const box = document.getElementById("box");
box.innerHTML = html`hello world`;document.body.append(box);
```## VSCode Plugin
you can install lit-html:
https://marketplace.visualstudio.com/items?itemName=bierner.lit-html](https://marketplace.visualstudio.com/items?itemName=bierner.lit-html)