Skip to content

Latest commit

 

History

History
17 lines (15 loc) · 496 Bytes

scaffolding-plugins.md

File metadata and controls

17 lines (15 loc) · 496 Bytes

Scaffolding Plugins

Scaffolding plugins are a special case of normal plugins. They usually provide two files (an entry-client and an entry-static) which can be used to enable new frameworks and data-fetching patterns. Consider the following leo.config.js which uses the Relay scaffolding and a couple plugins to generate data.

{
  scaffolding: '@sa-labs/leo-scaffolding-relay',
  plugins: [
    '@sa-labs/leo-plugin-blogpost',
    '@sa-labs/leo-plugin-markdown,
  ]
}