sapper-sources

0.0.2 • Public • Published

Sapper Sources

Pre-built content sources for your Sapper Application

Table of Contents

Installation

Use the package manager npm or yarn to install Sapper Sources.

npm install sapper-sources

# or

yarn add sapper-sources

Usage

Example to setup markdown as source for your sapper application.

import sapperSource, { markdownSource } from 'sapper-sources';

export default {
  source: sapperSource({
    plugin: markdownSource,
    options: {
      contentPath: '/content/',
    },
  }),
};

Built With

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Roadmap

  • [x] Markdown Support
  • [x] Gatsby Source Plugin Support
  • [ ] JSON Support
  • [ ] Relative image path support

License

MIT.

Package Sidebar

Install

npm i sapper-sources

Weekly Downloads

1

Version

0.0.2

License

MIT

Unpacked Size

10.8 kB

Total Files

6

Last publish

Collaborators

  • apvarun