https://github.com/extensionengine/tailor-element-template
A starting place for creating a custom element
https://github.com/extensionengine/tailor-element-template
Last synced: about 1 month ago
JSON representation
A starting place for creating a custom element
- Host: GitHub
- URL: https://github.com/extensionengine/tailor-element-template
- Owner: ExtensionEngine
- License: mit
- Created: 2019-12-20T14:53:05.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-01-12T17:13:44.000Z (over 6 years ago)
- Last Synced: 2026-01-01T01:44:48.687Z (5 months ago)
- Language: JavaScript
- Size: 5.86 KB
- Stars: 1
- Watchers: 7
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tailor-element-template
A starting place for creating a custom element
## Dependencies
- Node.js (>= 10.17.0)
- npm (>= 6.11.0)
- Tailor (>= 3.2.3)
## Installation
### Prerequisites
- Node.js & npm: https://nodejs.org/en/download/
- Tailor: https://github.com/ExtensionEngine/tailor
- Degit: https://github.com/Rich-Harris/degit (installed globally)
### Setup
1. Open the terminal
2. Go to the `/extensions/content-elements` folder
3. Run `degit ExtensionEngine/tailor-element-template `
## Usage
This repository contains the basic structure needed to create a custom content element.
The files inside of it contain code or the template of the code which is needed to
successfuly extend Tailor with a custom content element. Any piece of code which needs
to be customized for the basics to work is marked with appropriate comments.