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

uecomponents

v1.0.22

Published

``` yarn install ```

Downloads

2

Readme

portal-views

Project setup

yarn install

Compiles and hot-reloads for development

yarn run serve

Compiles and minifies for production

yarn run build

Run your tests

yarn run test

Lints and fixes files

yarn run lint

Customize configuration

See Configuration Reference.

使用方法

  • IDEA开发工具需要在设置界面当中配置JS语言版本:Preferences | Languages & Frameworks | JavaScript选择ECMAScript6
  • 本地电脑安装NODEJS
  • 安装yarn,如果没有安装过,请先安装yarn npm install -g yarn (在ct-views根目录下执行)
  • 设置npm 代理,提升安装速度 npm config set registry https://registry.npm.taobao.org/
  • 使用 yarn install 命令安装所有依赖文件
  • 本地执行yarn run serve 启动

编译打包

  • 本地执行yarn run build
  • 可以在webpack配置文件中将打包的文件直接放到java工程当中(可选项)

目录结构说明

  • assets 资源存放目录(使用assets下面的资源,在js中使用的话,路径要经过webpack中file-loader编译,路径不能直接写)
  • components 是公共组建存放目录
  • config ajax env store等基础配置文件存放目录
  • router 页面路由管理文件存放目录
  • service 对接服务端api 统一管理
  • store 状态数据存储管理 (https://vuex.vuejs.org/zh/)
  • tools 工具包 类似Java后台管理系统的工具类(添加前提)
  • views 功能模块页面存放目录

常用插件

  • 全年日历 https://nono1526.github.io/vue-material-year-calendar/

npm私服发布

  • 添加用户:ccic
npm adduser --registry http://npm.xiqiao.io
  • 登录
npm login  --registry http://npm.xiqiao.io
用户名:ccic
密码:ccic
邮箱:[email protected]
  • 打包后发布

npm publish --registry http://npm.xiqiao.io
  • 其他组件引用
npm i uecomponents --registry http://npm.xiqiao.io