https://github.com/ficusjs/ficusjs-compiled-templates
Compile JSX tagged template literals with snowpack and babel
https://github.com/ficusjs/ficusjs-compiled-templates
Last synced: 4 months ago
JSON representation
Compile JSX tagged template literals with snowpack and babel
- Host: GitHub
- URL: https://github.com/ficusjs/ficusjs-compiled-templates
- Owner: ficusjs
- Created: 2021-08-20T19:06:46.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-12-14T14:28:19.000Z (over 2 years ago)
- Last Synced: 2025-01-12T22:14:48.338Z (5 months ago)
- Language: HTML
- Size: 612 KB
- Stars: 2
- Watchers: 4
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ficusjs-compiled-templates
Compiled JSX tagged template literals using the [htm renderer](https://github.com/ficusjs/ficusjs-renderers) via [babel-plugin-htm](https://github.com/developit/htm/tree/master/packages/babel-plugin-htm).
This example compiles JSX tagged template literals using Snowpack. This removes the runtime parsing of templates and reduces the overhead of loading a renderer.
## Getting started
1. Clone this repo
2. Run `npm install`
3. Run `npm start`