docz-plugin-splash

This package enables splash spinner before static assets load, and destroy the spinner before the doc actually render

Usage no npm install needed!

<script type="module">
  import doczPluginSplash from 'https://cdn.skypack.dev/docz-plugin-splash';
</script>

README

docz-plugin-splash

NPM version

Docz plugin to enable splash spinner before static assets load, and destroy the spinner after the doc actually rendered

Installation

First of all, install plugin:

$ yarn add docz-plugin-splash --dev

After that, use the plugin on your doczrc.js:

// doczrc.js
import { splash } from 'docz-plugin-splash'

export default {
  plugins: [
    splash()
  ]
}

This is all you need to do, docz-plugin-splash will do the rest

LICENSE

MIT License