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'
    }
  }
}

Readme

Keywords

none

Package Sidebar

Install

npm i ydoc-plugin-import-asset

Weekly Downloads

0

Version

1.0.1

License

ISC

Unpacked Size

996 B

Total Files

3

Last publish

Collaborators

  • ymfe