@univerjs/umd

0.4.2 • Public • Published

@univerjs/umd

Package Overview

Package Name Version License Downloads
@univerjs/umd

Introduction

@univerjs/umd is a UMD bundle for Univer. It is a standalone version of the library that can be used in any web project without the need for a module bundler.

Usage

You can include the UMD bundle in your HTML file using the following script tag:

<script src="https://unpkg.com/@univerjs/umd/lib/univer.full.umd.js"></script>
<link rel="stylesheet" href="https://unpkg.com/@univerjs/umd/lib/univer.css">

If you are already using React, ReactDOM, and RxJS in your project, you can opt for the slim version of the UMD bundle, which excludes these dependencies.

+ <script src="https://unpkg.com/react/umd/react.production.min.js"></script>
+ <script src="https://unpkg.com/react-dom/umd/react-dom.production.min.js"></script>
+ <script src="https://unpkg.com/rxjs/dist/bundles/rxjs.umd.min.js"></script>

- <script src="https://unpkg.com/@univerjs/umd/lib/univer.full.umd.js"></script>
+ <script src="https://unpkg.com/@univerjs/umd/lib/univer.slim.umd.js"></script>
<link rel="stylesheet" href="https://unpkg.com/@univerjs/umd/lib/univer.css">

Readme

Keywords

Package Sidebar

Install

npm i @univerjs/umd

Homepage

univer.ai

Weekly Downloads

103

Version

0.4.2

License

Apache-2.0

Unpacked Size

42.5 MB

Total Files

12

Last publish

Collaborators

  • yuhongz
  • wbfsa
  • jikkai
  • wendellhu95
  • mengshukeji