@control-fitness/helper-cdn

Control Fitness helper to fetch CDN files.

Usage no npm install needed!

<script type="module">
  import controlFitnessHelperCdn from 'https://cdn.skypack.dev/@control-fitness/helper-cdn';
</script>

README

helper-cdn

Control Fitness helper to fetch CDN files.

pipeline status

Example

import Cdn from 'react-cf-helper-cdn';

...
Cdn.image('logo-text-296-40.svg')

// http://cdn.control.fitness/images/logo-text-296-40.svg
...

Clone repository

$ git clone https://gitlab.com/control-fitness/helper-cdn.git

Install dependencies

$ yarn

Run docs

$ yarn start

Run dist

$ yarn dist

Run test

$ yarn test