react-core-yeti

1.1.1 • Public • Published

React Core - Integration with Yeti-CMS

A react-core library to fetch data from Yetic-CMS for static sites.

Example Usgae

const fetchData = require('react-core-yeti');

fetchData(process.env.GATEWAY_URL, process.env.GATEWAY_TOKEN)
    .then(res = > {
        //your logic to handle data
    })
    .catch(err => {
        console.log(err);    
    });

Readme

Keywords

Package Sidebar

Install

npm i react-core-yeti

Weekly Downloads

0

Version

1.1.1

License

ISC

Unpacked Size

8.37 kB

Total Files

14

Last publish

Collaborators

  • kimthanh932000