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

vue-cli-plugin-paradise-soft-starter-template

v2.17.1

Published

paradise-soft plugin for vue-cli

Downloads

86

Readme

vue-cli-plugin-paradise-soft-starter-template

使用 vue-cli 3 快速建立關於 vue 的起始模板

如何使用

  1. 安裝 Vue CLI 3:
$ npm install -g @vue/cli
  1. 建立專案(Router, Vuex, Sass, Linter)
$ vue create my-project
  1. 建立起始模板
$ vue add paradise-soft-starter-template

專案架構

├── /node_modules/              # 第三方套件
├── /public/                    # 靜態檔案,會被複製到 dist 文件夾
├── /src/                       # 應用程式 source code
│   ├── /api/                   # 有關 Api 的請求都放在這裡
│   ├── /assets/                # 資源
│   ├── /components/            # Vue components
│   ├── /filters/               # Global filters
│   ├── /layouts/               # Layouts
│   ├── /mixins/                # Global mixins
│   ├── /pages/                 # 關於頁面的文件夾
│   ├── /router/                # 頁面的路由
│   ├── /store/                 # Global 資料管理
│   ├── /styles/                # 樣式文件夾
│   ├── /utils/                 # 一些好用的工具
│   ├── /vendor/                # 把第三方套件整理成我們比較好用的工具
│   ├── /App.vue                # 入口頁面
│   └── /main.js                # startup script
├── /tests/                     # 放測試 code 的文件夾
├── .browserslistrc             # 瀏覽器支援設定
├── .env                        # 環境檔
├── .eslintrc.js                # eslint 設定檔
├── .gitlab-ci.yml              # 叫 gitlab 做事的檔案
├── babel.config.js             # babel 設定檔
├── db.json                     # Json server DB
├── jest.config.js              # jest 設定檔
├── Dockerfile                  # 叫 Docker 做事的檔案
├── package.json                # 第三方套件清單
├── vue.config.js               # Vue CLI 3 的設定檔
└── yarn.lock                   # 鎖定第三方套件依賴包版本

專案架構說明

程式碼規範檢查

使用 VUE CLI 3 建立專案時,Linter / Formatter 的設定選擇 ESLint + Airbnb config,然後編輯 .eslintrc.js

module.exports = {
  root: true,
  env: {
    node: true,
  },
  extends: [
    'plugin:vue/essential',
    '@vue/airbnb',
  ],
  rules: {
    'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
    'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
    semi: ['error', 'always'],
    'object-curly-spacing': ['error', 'always'],
    quotes: ['error', 'single'],
    'comma-dangle': ["error", "only-multiline"],
    'arrow-parens': ['error', 'always'],
    'import/extensions': 'off',
    'no-param-reassign': 'off',
    'no-shadow': 'off',
    'linebreak-style': 'off',
  },
  parserOptions: {
    parser: 'babel-eslint',
  },
};

快速開始

  1. 建立 .env 設定檔, 詳細請參考 Vue CLI 环境变量和模式
VUE_APP_API_URL=http://localhost:3002
  1. 安裝依賴套件
$ npm install
  1. 啟動專案(開發模式)
$ npm run serve
  1. 建立專案
$ npm run build
  1. 啟動服務
$ npm run start