We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No description provided.
The text was updated successfully, but these errors were encountered:
sparrow是一个短小精悍的前端基础库,它有着对DOM、CSS、Event、Cookies、浏览器检测、增强等基本前端操作。Sparrow.js通过webpack进行构建。
呃,这个据我所知,Sparrow的前身是NeoUI和Kero所使用的核心基本库,虽然它不是很起眼,但是它有着与jQuery类似的功能故提出作为单独存在,麻雀虽小,五脏六腑齐全,因此得名:)
Sparrow没有单独提出的时候,是NeoUI、Kero里面的核心库,经历了每一个版本的使用,由此看出sparrow经过了千锤百炼,是值得信赖的基本核心库
首先,从两大框架内提取了所有的核心方法,进行代码的重构、最新的ES6模块化加载依赖,为保证目前主流浏览器都可以使用,采用babel+webpack进行代码构建,大大的缩减了代码的依赖性,用户可以按需使用。
1、通过npm安装相关命令
npm install neoui-sparrow
npm install webpack -g
2、进入到Sparrow文件夹执行npn install安装依赖
npn install
cd neoui-sparrow && npm install
3、执行产出操作
npm run dev
npm run build
还有一种使用是按照自己的意愿去选择性的打包使用,我来介绍一下。
sparrow-pro
npm init
package.json
npm install neoui-sparrow --save
dist/sparrow.js
index.js
extend
import {extend} from 'neoui-sparrow/lib/extend'
这样直接使用单一的文件资源。
待更新……
Sorry, something went wrong.
No branches or pull requests
No description provided.
The text was updated successfully, but these errors were encountered: