Next.js + YAML
Import .yml
files in your next.js project.
Installation
yarn add --dev next-plugin-yaml
Usage
// next.config.jsconst withYaml = ; moduleexports = ;
Accepts both .yml
and .yaml
file extensions. Uses js-yaml-loader underneath.
Import .yml
files in your next.js project.
yarn add --dev next-plugin-yaml
// next.config.jsconst withYaml = ; moduleexports = ;
Accepts both .yml
and .yaml
file extensions. Uses js-yaml-loader underneath.
npm i next-plugin-yaml
4,903
1.0.1
MIT
2.75 kB
8