@agrarium/preset-default

The minimal Agrarium preset for simple projects.

Usage no npm install needed!

<script type="module">
  import agrariumPresetDefault from 'https://cdn.skypack.dev/@agrarium/preset-default';
</script>

README

Agrarium Default Preset

The minimal Agrarium preset for simple projects.

Usage

npm i agrarium

Or use it standalone:

npm i @agrarium/preset-default

In your .agrarium.js file:

const { presetDefault } = require('agrarium');

module.exports = {
    src: ['./src/components'],
    plugins: [
        new presetDefault({ /* options */})
    ]
};

Plugins

Options

i18n: { langs: string[], default: string }, default: { langs: ['en', 'ru'], default: 'en' }

md: { html: boolean, json: boolean, namespace: string | undefined }, default: { html: true }

License MIT