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

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

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.