Skip to content

digirati-co-uk/canvas-panel-beta

Repository files navigation

FESK Typescript

FESK + Typescript boilerplate.

Installation

Change package.json:

{
  "name": "{PACKAGE_NAME}",
  "main": "dist/umd/{PACKAGE_NAME}.js"
}

Customisations

Some customisations.

Remove server (libraries)

{
  "start": "fesk-start --cjs --noServer"
}

Storybook

Create FILENAME.stories.tsx

import React from 'react';

export default { title: 'CATEGORY LABEL| COMPONENT_NAME' };

export const ExampleName: React.FC = () => {
  return <div>Some story</div>
};

Example of custom configuration: https://github.com/digirati-co-uk/capture-models/tree/feature/context-behaviours/.storybook

Ports

Package json:

{
  "fesk": {
    "typescript": true,
    "port": 5000,
    "metalsmith": {
      "nunjucks": {
        "liveServerPort": 35735
      }
    }
  }
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published