A plugin that can help you create project friendly with Vue for @vue/cli 4.5

Overview

vue-cli-plugin-patch

Vue-cli-plugin-patch logo

Downloads Version License

A plugin that can help you create project friendly with Vue for @vue/cli 4.5.

Install

First you need to install @vue/cli globally (follow the instructions here).

Then create a project and add the Patch plugin:

vue create my-app

cd my-app

vue add patch

Use with vue-cli UI

Skip this part if you've done everything in the Install section.

If you prefer managing your project in vue-cli UI (by running vue ui), here's how you can add Patch plugin: go to the Plugins menu, click the upper right + Add plugin button, find vue-cli-plugin-patch and install it.

Why use

🚀 Create MPA easily

You can choose to generate MPA by command, the corresponding template and settings will be automatically inserted.

🐻 Add commitlint directly

The commitlint configuration will be automatically inserted and the corresponding dependencies will be installed. The specific rules can be found in commitlint.config.js, you can modify it.

🐧 Auto import package 'normalize.css'

In the entry file of the project, normalize.css will be automatically imported and the corresponding dependencies will be installed.

👽 Add mock

You can choose whether to add the data mock by command. The default value is false.

If true, you can start project like this:

yarn serve:mock

#or

npm run serve:mock

It will work on port 9000. You can modify it in the scripts field.

Suggestion

If you use VSCode to write code, it is strongly recommended to install the eslint plugin to automatically repair the format.

You can like this:

First, search for and install ESLint in the vscode plugin bar.

Second, find user > extension > eslint in the tab of preferences > settings, drop down and find edit in settings.json, click to open it.

Finally, copy the following code and save it:

{
  "editor.tabSize": 2,
  "editor.fontSize": 16,
  "workbench.iconTheme": "vscode-great-icons",
  "eslint.options": {
    "extensions": [
      ".js",
      ".vue"
    ]
  },
  "editor.codeActionsOnSave": {
    "source.fixAll": true
  },
  "eslint.alwaysShowStatus": true
}

Of course, you can change other options yourself.

You might also like...

Veloce: Starter template that uses Vue 3, Vite, TypeScript, SSR, Pinia, Vue Router, Express and Docker

Veloce Lightning-fast cold server start Instant hot module replacement (HMR) and dev SSR True on-demand compilation Tech Stack Vue 3: UI Rendering lib

Oct 7, 2022

NativeScript empowers you to access native api's from JavaScript directly. Angular, Vue, Svelte, React and you name it compatible.

NativeScript empowers you to access native api's from JavaScript directly. Angular, Vue, Svelte, React and you name it compatible.

NativeScript empowers you to access native APIs from JavaScript directly. The framework currently provides iOS and Android runtimes for rich mobile de

Jan 4, 2023

:necktie: :briefcase: Build fast :rocket: and easy multiple beautiful resumes and create your best CV ever! Made with Vue and LESS.

:necktie: :briefcase: Build fast :rocket: and easy multiple beautiful resumes and create your best CV ever! Made with Vue and LESS.

best-resume-ever 👔 💼 Build fast 🚀 and easy multiple beautiful resumes and create your best CV ever! Made with Vue and LESS. Cool Creative Green Pur

Jan 9, 2023

Mobile app development framework and SDK using HTML5 and JavaScript. Create beautiful and performant cross-platform mobile apps. Based on Web Components, and provides bindings for Angular 1, 2, React and Vue.js.

Mobile app development framework and SDK using HTML5 and JavaScript. Create beautiful and performant cross-platform mobile apps. Based on Web Components, and provides bindings for Angular 1, 2, React and Vue.js.

Onsen UI - Cross-Platform Hybrid App and PWA Framework Onsen UI is an open source framework that makes it easy to create native-feeling Progressive We

Jan 4, 2023

tsParticles - Easily create highly customizable particles animations and use them as animated backgrounds for your website. Ready to use components available for React, Vue.js (2.x and 3.x), Angular, Svelte, jQuery, Preact, Inferno.

tsParticles - Easily create highly customizable particles animations and use them as animated backgrounds for your website. Ready to use components available for React, Vue.js (2.x and 3.x), Angular, Svelte, jQuery, Preact, Inferno.

tsParticles - TypeScript Particles A lightweight TypeScript library for creating particles. Dependency free (*) and browser ready! Particles.js conver

Jan 4, 2023

Create conversational conditional-logic forms with Vue.js.

Create conversational conditional-logic forms with Vue.js.

Vue Flow Form Create conversational conditional-logic forms with Vue.js. Live Demos Questionnaire example Support page example Quiz example Project Do

Jan 4, 2023

multiple page application create by vue-cli4.5.15

vue-multiple-cli create mutiple page by vue-cli4.5.15 基于vue-cli4.5.15搭建的多页面应用,主要是将src目录下单文件应用改成多模块的应用,使其一个脚手架可以开发多个互不影响的模块,同时又可以共用一些公共组件和方法。 安装使用 git

Dec 25, 2021

:globe_with_meridians: Internationalization plugin for Vue.js

:globe_with_meridians: Internationalization plugin for Vue.js

vue-i18n Internationalization plugin for Vue.js 🥇 Gold Sponsors 🥈 Silver Sponsors 🥉 Bronze Sponsors ⚠️ NOTICE This repository is for Vue I18n v8.x.

Jan 8, 2023

An infinite scroll plugin for Vue.js.

Intro An infinite scroll plugin for Vue.js, to help you implement an infinite scroll list more easily. Features Mobile friendly Internal spinners 2-di

Jan 4, 2023
Releases(v0.1.0)
Owner
悲しい人はもう少年ではない
null
Based on vitawind, kowind brings ESLint plugin and some other plugins to it that help you to format your code quickly and efficiently.

?? KOWIND v3 ?? Vite helper based on vitawind ?? Easy To Install ⚡️ Automatically open Tailwind JIT Mode ⚙ One-Command Setting ?? Automatically config

Kayo Oliveira 13 Nov 26, 2022
Mosha-vue-toastify - A light weight and fun Vue 3 toast or notification or snack bar or however you wanna call it library.

Mosha Vue Toastify A lightweight and fun Vue 3 toast or notification or snack bar or however you wanna call it library. English | 简体中文 Talk is cheap,

Baidi Liu 187 Jan 2, 2023
Help you solve the Wordle puzzles when your vocabulary failes you.

Wordle Helper Help you solve Wordle puzzles when your vocabulary failes you. Have fun with it here: wordle.zxh.io How to use First, start a Wordle puz

Xiaohan Zou 5 Jun 20, 2022
Vue2.x plugin to create scoped or global shortcuts. No need to import a vue component into the template.

vue2-shortcut Vue2.x plugin to create scoped or global shortcuts. No need to import a vue component into the template. Install $ npm install --save vu

Graxi 37 Aug 14, 2022
Atropos - Stunning touch-friendly 3D parallax hover effects

Atropos Atropos is a lightweight, free and open-source JavaScript library to create stunning touch-friendly 3D parallax hover effects. Available for J

Vladimir Kharlampidi 2.3k Jan 5, 2023
:tada: A magical vue admin https://panjiachen.github.io/vue-element-admin

English | 简体中文 | 日本語 | Spanish SPONSORED BY 活动服务销售平台 客户消息直达工作群 Introduction vue-element-admin is a production-ready front-end solution for admin inter

花裤衩 80.1k Dec 31, 2022
:eyes: Vue in React, React in Vue. Seamless integration of the two. :dancers:

vuera NOTE: This project is looking for a maintainer! Use Vue components in your React app: import React from 'react' import MyVueComponent from './My

Aleksandr Komarov 4k Dec 30, 2022
🎉 基于 vite 2.0 + vue 3.0 + vue-router 4.0 + vuex 4.0 + element-plus 的后台管理系统vue3-element-admin

vue3-element-admin ?? 基于 Vite 2.0 + Vue3.0 + Vue-Router 4.0 + Vuex 4.0 + element-plus 的后台管理系统 简介 vue3-element-admin 是一个后台前端解决方案,它基于 vue3 和 element-plu

雪月欧巴 84 Nov 28, 2022
Jenesius vue modal is simple library for Vue 3 only

Jenesius Vue Modal Jenesius vue modal is simple library for Vue 3 only . Site Documentation Installation npm i jenesius-vue-modal For add modals in yo

Архипцев Евгений 63 Dec 30, 2022
A template repository / quick start to build Azure Static Web Apps with a Node.js function. It uses Vue.js v3, Vue Router, Vuex, and Vite.js.

Azure Static Web App Template with Node.js API This is a template repository for creating Azure Static Web Apps that comes pre-configured with: Vue.js

Marc Duiker 6 Jun 25, 2022