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

vue-cli-plugin-lemon-module

v0.0.2

Published

vue-cli 3.x plugin for lemon-module

Downloads

146

Readme

vue-cli-plugin-lemon

vue-cli 3.x plugin for lemon-module

用途

基于 vue-cli 快速生成编写 lemon-module 的脚手架

使用前提

安装 vue-cli 3.x ,安装后查看版本:

$ vue --version

使用 vue-cli 创建一个新项目:(lemon 插件命名需要 lemon-module- 前缀)

$ vue create lemon-module-demo

导航到新创建目录并增加 lemon cli 插件:

$ cd lemon-module-demo
$ vue add lemon-module

开发模块:

$ npm run serve

打开 http://lemon.faas.alpha.elenet.me - 模块市场 - 新建模块 - 模块(配置)地址填写 //localhost:8080/lemon-module-demo.min.js 或 //localhost:8080/lemon-module-demo0setting.min.js 调用本地的打包模块,在编辑器中查看模块效果。

打包模块:

$ npm run build

等待完成即可。

提示

如果你已经有项目,确保 commit 后执行 vue add lemon-module,以便于恢复。打包后生成的模块名是和项目 package.json 里面的 name 值保持同步的