Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

Cosmic JS Extension Starter

Extend the Cosmic JS dashboard experience. Cosmic JS Extensions enable you to:

  • Create custom views in your Cosmic JS dashboard
  • Connect to third-party APIs

What is a Comsic JS Extension?

In short, it's a JAMstack app. It can be a simple static website, or complex web app, using front end web technology.

Links

Extension docs

Extension examples

Installation

  1. Download the .zip file in this repo
  2. Login to Cosmic JS and go to Your Bucket > Settings > Extensions > Add Extension

Required files

extension.json

Key Type Description
title String Function title
font_awesome_class String Icon to display in the Bucket sidenav
image_url String Image thumbnail
repo_url String Extension source code url

Example extension.json file:

{
  "title": "Extension Starter",
  "font_awesome_class": "fa-rocket",
  "image_url": "https://cosmicjs.com/images/marketing/logo-w-brand.jpg",
  "repo_url": "https://github.com/cosmicjs/extension-starter"
}

index.html

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Extension Starter</title>
</head>
<body>
  <h1>Hello World! or whatever...</h1>
</body>
</html>

About

Cosmic JS Extension Starter

Resources

Releases

No releases published

Packages

No packages published

Languages