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

dlkj-vue-ui

v0.1.11

Published

### 项目运行 ``` 项目demo运行时 需要注释vue.config.js中配置 然后 npm run serve ``` // vue.config.js module.exports = { pages: { index: { // page 的入口 entry: 'examples/main.js', // 模板来源 template: 'public/index.html', // 在 dist/index.html

Downloads

6

Readme

zhaohu-ui

项目运行

项目demo运行时  需要注释vue.config.js中配置 然后 npm run serve 

// vue.config.js module.exports = { pages: { index: { // page 的入口 entry: 'examples/main.js', // 模板来源 template: 'public/index.html', // 在 dist/index.html 的输出 filename: 'index.html' } }, chainWebpack: config => { // packages和examples目录需要加入编译 config.module .rule('js') .include.add(/packages/) .end() .include.add(/src/) .end() .use('babel') .loader('babel-loader') .tap(options => { // 修改它的选项... return options }) } }

项目打包插件模式 npm run lib

解除vue.config.js 文件中的注释 然后 npm run lib

项目上传npm共有包模式

package.json 文件中 name同层下增加入口文件配置    "main": "lib/zh.umd.min"
npm login  // 输入用户名 密码 邮箱 以及一次性验证码

npm publish // 提交lib包到npm中

安装依赖包

npm i dlkj-ui

main.js中  
import dlkjUI from dlkj-ui

app.use(dlkjUI)  or Vue.use(dlkjUI)

出现的问题

如果出现 dlkj-ui not found的情况

  1. 在node_modules中查找 dlkj-ui文件夹是否存在
  2. 如果存在 则查看package.json 文件中的main 入口文件配置是否配置了 如果没有配置则手动配置插件入口文件
  3. 如果不存在 重新 install一下插件依赖