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 🙏

© 2026 – Pkg Stats / Ryan Hefner

generator-mjsj-vue

v0.0.4

Published

Downloads

1

Readme

generator-mjsj-vue

vue技术栈脚手架

  • webpack1+vue1 -- vue1 脚手架
  • webpack1+vue2 -- vue2 脚手架
  • webpack2+vue2 -- vue2 脚手架
  • webpack2+vue2+vuex2 -- vue2+vuex2 脚手架
  • webpack2+vue2+vuex2+vue-router2 -- vue2+vuex2+vue-router2 脚手架
  • webpack2+happypack+vue2 -- vue2 脚手架(推荐)
  • webpack2+happypack+vue2+vuex2 -- vue2+vuex2 脚手架(推荐)
  • webpack2+happypack+vue2+vuex2+vue-router2 -- vue2+vuex2+vue-router2 脚手架(推荐)

使用脚手架生成项目

  • npm install -g yo
  • npm install -g generator-mjsj-vue
  • cd /path/of/your/project //切到你的项目目录
  • yo mjsj-vue //在你的项目目录下执行

vue2 项目目录结构

├── LICENSE
├── README.md
├── dist
│   ├── static          -- webpack打包生成的静态文件,包括js/css等
│   └── index.html
├── devserver.js
├── f2eci.json
├── html
│   └── index.html      -- 入口html
├── package.json
├── src
│   ├── app.vue
│   ├── assets          -- 资源目录(图片、音频、字体、视频等)
│   ├── components      -- vue模块
│   ├── index.js        -- 入口js
│   └── index.less      -- 入口less
└── webpack.config.js   -- webpack配置文件

vue2+vuex2 项目目录结构

├── LICENSE
├── README.md
├── dist
│   ├── static                -- webpack打包生成的静态文件,包括js/css等
│   └── yourpagename.html
├── devserver.js
├── f2eci.json
├── html
│   └── yourpagename.html     -- 入口html
├── node_modules
├── package.json
├── src
│   └── yourpagename          -- 每一个页面对应一个文件夹,建议使用页面名称作为文件夹的名称
│       ├── api               
│       │   └── fetch.js      -- 获取网络数据文件
│       ├── app.vue
│       ├── assets            -- 资源目录(图片、音频、字体、视频等)
│       │   └── xx.png
│       ├── components        -- vue模块
│       │   ├── xx1.vue
│       │   └── xx2.vue
│       ├── index.js          -- 入口js
│       ├── index.less        -- 入口less
│       └── store             
│           └── store.js      -- 状态管理对象
└── webpack.config.js         -- webpack配置文件

vue2+vuex2+vue-router2 项目目录结构

├── LICENSE
├── README.md
├── dist
│   ├── static                -- webpack打包生成的静态文件,包括js/css等
│   └── yourpagename.html
├── devserver.js
├── f2eci.json
├── html
│   └── yourpagename.html     -- 入口html
├── node_modules
├── package.json
├── src
│   └── yourpagename          -- 每一个页面对应一个文件夹,建议使用页面名称作为文件夹的名称
│       ├── api               
│       │   └── fetch.js      -- 获取网络数据文件
│       ├── app.vue
│       ├── assets            -- 资源目录(图片、音频、字体、视频等)
│       │   └── xx.png
│       ├── components        -- vue模块
│       │   ├── xx1.vue
│       │   └── xx2.vue
│       ├── container         -- 路由页面
│       │   ├── xx_page1.vue      
│       │   ├── xx_page2.vue
│       ├── index.js          -- 入口js
│       ├── index.less        -- 入口less
│       ├── router
│       │   └── router.js     -- 路由映射对象
│       └── store             
│           └── store.js      -- 状态管理对象
└── webpack.config.js         -- webpack配置文件

本地开发

  • 执行npm run start命令,会开启一个本地服务器,支持HMR。

构建

  • 执行npm run build命令,会在dist/static目录下,生成webpack打包后的.js和.css文件。