Skip to content

imvkmark/popjs-util

Repository files navigation

@popjs/util

popjs-util

license Build Status NPM downloads Percentage of issues still open

Poppy Framework Js Util Packages

文档 : 中文文档

使用者指南

通过npm下载安装代码

$ npm install --save @popjs/util

如果你是node环境

var poppyjs = require('@popjs/util');

如果你是webpack等环境

import { isMobile } from '@popjs/util';

如果你是requirejs环境

requirejs(['node_modules/@popjs/util/dist/index.aio.js'], function(base) {
    // xxx
})

如果你是浏览器环境

<script src="node_modules/@popjs/util/dist/index.aio.js"></script>

包的发布

发布之前需要生成 ts 文件

yarn doc
nrm use npm
yarn publish

About

Poppy Framework Js Framework

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors