0.0.2 • Published 1 year ago

@rayb/npmns-ui v0.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

使用说明

直接引入 umd 模块,如下:

<!DOCTYPE html>
<html>

<head>
  <meta charset="utf-8">
  <title>umd demo</title>
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="renderer" content="webkit">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">

  <script src="./dist/index.js"></script>

</head>

<body>
  <div id="app"></div>

  <script>
    var rrr = new Rnpmns({ container: 'app' });
    rrr.init();
  </script>

</body>

</html>

采用 es 模块使用

import Rnpmns from '@rayb/npmns-ui';

const rrr = new Rnpmns({ container: 'app' });
rrr.init();
0.0.2

1 year ago

0.0.1

1 year ago