Skip to content

A template to build custom journey block web components with Lit

Notifications You must be signed in to change notification settings

epilot-dev/custom-journey-block-lit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Epilot Custom Journey Block Starter

Overview

This is a starter project for creating custom journey blocks for the Epilot platform using Lit web components.

Prerequisites

  • Node.js (v16+)
  • npm or yarn

Getting Started

  1. Clone the repository

  2. Install dependencies:

    npm install
  3. Development:

    npm run dev
  4. Build for production:

    npm run build

Project Structure

  • src/: Source code directory
  • index.ts: Entry point for the web component
  • vite.config.ts: Build configuration

Creating Your Journey Block

  1. Modify the web component in src/index.ts
  2. Add your custom logic and styling
  3. Ensure the component follows Epilot's journey block specification

Documentation

For detailed guidelines on creating custom journey blocks, refer to the Epilot App Documentation.

Deployment

The build process generates a bundle.js file that can be hosted and used in Epilot journeys.

License

[MIT]

About

A template to build custom journey block web components with Lit

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published