1.0.10 • Published 4 years ago

@becomes/cms-ssgf v1.0.10

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

Becomes CMS - Static Site Generator Framework

This is a tool that will abstract communication with Becomes CMS API and will allow easier integration in the framework like Gatsby and Nuxt. Have in mind that this is abstraction tool and all of its functionality can be achieved using Becomes CMS Client library.

Getting started

Install tool as a development dependency by running npm i -D @becomes/cms-ssgf. After this go to package.json and add scripts:

{
  // ...
  "scripts": {
    // ...
    "bcms:pull-content": "bcms-ssgf --pull-content",
    "bcms:page-parser": "bcms-ssgf --page-parser",
    "bcms:pull-media": "bcms-ssgf --pull-media"
  }
}

Now you will need to create a configuration file called bcms.config.js in the root of the project (where package.json is). Inside of it, export configuration object. You can use configuration builder class to have autocomplete.

import { ConfigBuilder } from '@becomes/cms-ssgf';

export default ConfigBuilder.build({
  // >>> Your configuration <<<
})
1.0.10

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago