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

coderlmw

v1.0.2

Published

## 说明

Downloads

2

Readme

Quickly-build-project

说明

为了减少手动创建项目并且频繁配置路由信息和封装 axios 的频率,因此创建此工具。

本命令行工具目前只能创建 vue3 项目,项目中自动配置了 vue-router、vuex、less 以及封装了 axios,命令行工具会帮助你自动注册路由以及自动在 store 中导入 vuex 的模块

1、代码 clone 方式使用

本地初始化

npm install
npm link

完成上面两步操作后就可以开始使用命令行工具'lmw'啦

2、npm 方式下载使用

npm install coderlmw -g

3、使用说明

1、创建项目

lmw create demo

2、vue 项目中创建组件

lmw addcpn componentsname -d path(创建组件的路径,如果不加-d + 路径,则默认的路径为src/components)

3、创建页面

lmw addpage pagename -d path(和创建组件的一样,不加-d 则默认路径为 src/views/pagename)

使用默认的路径创建页面后会自动注册路由无需手动操作

4、创建 vuex 的 modules

lmw addstore storename -d path(和创建组件的一样,不加-d 则默认路径为 src/store/modules/storename)

使用默认的路径创建 vuex 的 modules 后会自动添加到 vuex 的 modules 中,无需再手动导入添加