Home > Web Front-end > JS Tutorial > Summary of detection methods without using Vue code specifications

Summary of detection methods without using Vue code specifications

php中世界最好的语言
Release: 2018-05-03 16:33:02
Original
2173 people have browsed it

This time I will bring you a summary of detection methods without using vue code specifications, and what are the precautions for detection without using vue code specifications. The following is a practical case, let's take a look.

1. When building vue scaffolding, you are prompted whether to enable eslint detection. Use ESLint to lint your code? Write no;

2. If the project has been generated, we can do this.

Open the

webpack.base.config.js file in the bulid folder in the project. Delete or log out the following code:

{
  test: /\.(js|vue)$/,
  loader: 'eslint-loader',
  enforce: 'pre',
  include: [resolve('src'), resolve('test')],
  options: {
   formatter: require('eslint-friendly-formatter')
  }
 },
Copy after login
I believe you have mastered the method after reading the case in this article. For more exciting information, please pay attention to other related articles on the PHP Chinese website!

Recommended reading:

Detailed explanation of the steps to use WebUploader in Bootstrap

Analysis of steps to use vuex

The above is the detailed content of Summary of detection methods without using Vue code specifications. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template