npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

amazeui-vue

v0.3.2

Published

Amaze UI components built with vue.js

Downloads

29

Readme

amazeui-vue

基于vue.jsamazeui开发的组件库。

版本 协议

安装

NPM

npm install amazeui-vue

推荐使用 vuejs + webpack + amazeui-vue

全局使用

dist目录下有一个打包好的文件,用script标签引入即可使用

<body>
  <!-- Hello world! -->
  <!-- 记得引入vue.js库和AmazeUI的样式文件 -->
  <link rel="stylesheet" href="path/to/amazeui.css">
  <script src="path/to/vue.js"></script>
  <!-- 然后引入amazeui-vue.js -->
  <script src="path/to/amazeui-vue.js"></script>
  <script>
  // 注意:像使用vue插件一样先调用use方法
  Vue.use(amazeuiVue);
  // 然后就可以正常使用了
  </script>
</body>

关于

这个项目将AmazeUI的组件(以及部分插件)转成了vue.js组件形式,并且移除了jQuery依赖。

如果你对vue.js还不熟悉,可以在vue.js官网了解和学习。

如果你想使用React版本,这里有,而且这个版本由AmazeUI团队维护。

依赖

Vue.js 1.0.0发布啦! Amazeui-vue现在使用的vue.js版本是1.0.7,如果你正在将自己的vue.js项目从0.12升级到1.0,从这里可以了解一些升级带来的重要改变。

文档

运行例子

更新

现在的例子使用webpack-dev-server来跑,而且支持hot-reload,你要做的就是运行npm run dev然后打开浏览器,访问http://localhost:9999

目前可以使用的组件

  • grid
  • column
  • container
  • amButton
  • buttonGroup
  • amForm
  • amInput
  • checkbox
  • radio
  • amSelect
  • panel
  • list
  • modal
  • alert
  • confirm
  • prompt
  • icon
  • badge
  • pagination
  • article
  • tab
  • topbar

还在开发中的组件

  • dateTimePicker
  • slider
  • nprogress

如何使用

vue.js组件系统要求使用组件前必须先注册,安装amazeui-vue并不会将组件注册到你的项目中,所以你必须手动注册。

Vue.use(require('amazeui-vue'));

然后就可以在全局范围内使用组件了。

组件

请查看例子