ydoc-plugin-import-asset

    1.0.1 • Public • Published

    ydoc-plugin-import-asset

    Import js and css files in the page.import-assert is the default plugin in the ydoc.

    Usage

    In the ydoc config file, configuration:

    {
      pluginsConfig: {
        'import-asset': {
          css: 'custom.css',
          js:  'custom.js'
        }
      }
    }
    

    Keywords

    none

    Install

    npm i ydoc-plugin-import-asset

    DownloadsWeekly Downloads

    3

    Version

    1.0.1

    License

    ISC

    Unpacked Size

    996 B

    Total Files

    3

    Last publish

    Collaborators

    • ymfe