tomasz-sodzawiczny / next-plugin-yaml

Import .yml files in your next.js project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Next.js + YAML

NPM version Build Status License: MIT

Import .yml files in your next.js project.

Installation

yarn add --dev next-plugin-yaml

Usage

// next.config.js
const withYaml = require('next-plugin-yaml');

module.exports = withYaml({
  // other config here
});

Accepts both .yml and .yaml file extensions. Uses js-yaml-loader underneath.

License

MIT

About

Import .yml files in your next.js project

License:MIT License


Languages

Language:JavaScript 100.0%