What are the vue development tools?
Vue development tools include: 1. Vue CLI; 2. Vue Press; 3. Vuex; 4. Nuxt; 5. Vuetify; 6. Quasar; 7. Storybook; 8. Visual Studio Code; 9. WebStorm etc.
The operating environment of this tutorial: windows7 system, vue2.9.6 version, DELL G3 computer.
In addition to JavaScript, the front-end now also has three frameworks, react, vue, and angular, which are more commonly used in the market. It can be said that these three frameworks have changed the status of the front-end to a great extent, compared to angular. Generally speaking, vue also has rich instructions and is a typical MVC framework. Vue is relatively lightweight.
Currently vue is used by many developers and is becoming more and more popular, so Its ecological environment has also become more complete, and related tools are also abundant. This mainly relies on Vue's learning curve and clear design structure and usage documentation, allowing experienced developers to easily start from other frameworks. Let me introduce to you what are the development tools of Vue?
Vue CLI
In order to facilitate developers to get started quickly, like the strange framework, it provides CLI-like scaffolding tools. VueCLI is a set of Full-featured tools for rapid Vue development. Vue standardizes the tool base in the Vue ecosystem, ensuring that various build tools can be smoothly connected based on intelligent default configurations, so that you can focus on writing applications instead of spending a long time. Time to worry about configuration issues, for example, you can easily integrate plug-ins such as Babel, TypeScript, ESLint, PostCSS, Jest, Mocha, Nightwatch and Cypress into the project.
Vue Press
VuePress is a static website generator driven by Vue. It is a single-page application driven by Vue, Vue Router and webpack. In VuePress, you can Use Markdown to write documents and then generate web pages. Each page generated by VuePress has pre-rendered HTML, so it has very good loading performance and search engine optimization. At the same time, once the page is loaded, Vue will take over the content. , and convert it into a complete single-page application. Other pages will only need to be loaded when the user browses to them.
Vuex
In SPA In the development of single-page components, Vue's vuex and React's React are collectively called the same state management, which can also be called global state management. The simple understanding is that after you define a data in the state, you can use it anywhere in the project. Get and modify in a component, and the modified part can get global response changes. The core of every Vuex application is the Store. The store can be used as a container, containing most of the status of the application.
Nuxt
Nuxt.js is a lightweight application framework based on Vue.js. It can be used to create server-side rendering applications and can also be used as a static site engine to generate Static site application, with features such as elegant code structure layering and hot loading.
Vuetify
Vuetify is currently one of the best UI component libraries based on veu. It provides a large number of components carefully crafted based on Material Design specifications, which can satisfy any application requirements.
Quasar
Quasar is an MIT-licensed Kaiyuan framework based on Vue that can help web developers create responsive websites, PWA, build mobile APPs through Apacha Cordova, and more Platform App Quasar requires developers to write code once and then deploy it as a website, PWA, Mobile APP and Electron App simultaneously using the same code base. Design applications using the most advanced CLI and provide carefully written, very fast Quasar Web components,
Storybook
For the front end, componentization technology It is already a required course, which mainly focuses on react and vue, but I usually have some troubles when developing components, especially public components or third-party components,
It cannot manage components very well. It cannot be clear at a glance when previewing components, nor can it reflect the different states of a component very well.
Enzyme can be used for automated interactive testing, but in many cases it has to be done manually. Test,
When writing the document, the component preview and the document need to be written together, and different states need to be switched,
So, storbook is In order to solve these problems, it can build a powerful development environment for components, mainly providing the following points
Provides a powerful UI component management page, which can be very convenient and clear Group and manage multiple components or different states of a component
In addition to automated interactive testing, manual interactive testing can be easily performed, and component parameters can be dynamically changed to view view changes
You can export the component preview as a static resource, so you can easily view the component's documentation and different views corresponding to different parameters. There are also a series of plug-ins to better help us complete development, testing and optimization. Components work.
The tool enables developers to display them interactively, independently of the main application components, in an isolated development environment without having to worry about application-specific dependencies and requirements. Personnel, designers and many other people are involved in the project.
Visual Studio Code
Visual Studio Code (referred to as "VS Code") is a software that Microsoft officially announced at the Build Developer Conference on April 30, 2015. A cross-platform source code editor for writing modern web and cloud applications on Mac OS X, Windows and Linux that runs on the desktop and is available for Windows, macOS and Linux. It has built-in support for JavaScript, TypeScript, and Node.js, and a rich ecosystem of extensions for other languages (such as C, C#, Java, Python, PHP, Go) and runtimes (such as .NET and Unity).
WebStorm
WebStorm is a JavaScript development tool owned by JetBrains. It has been praised by the majority of Chinese JS developers as "Web front-end development artifact", "the most powerful HTML5 editor", "the most intelligent JavaScript IDE", etc. It has the same origin as IntelliJ IDEA and inherits the functions of the powerful JS part of IntelliJ IDEA.
Related recommendations: "vue.js Tutorial"
The above is the detailed content of What are the vue development tools?. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

Using Bootstrap in Vue.js is divided into five steps: Install Bootstrap. Import Bootstrap in main.js. Use the Bootstrap component directly in the template. Optional: Custom style. Optional: Use plug-ins.

You can add a function to the Vue button by binding the button in the HTML template to a method. Define the method and write function logic in the Vue instance.

The watch option in Vue.js allows developers to listen for changes in specific data. When the data changes, watch triggers a callback function to perform update views or other tasks. Its configuration options include immediate, which specifies whether to execute a callback immediately, and deep, which specifies whether to recursively listen to changes to objects or arrays.

Vue multi-page development is a way to build applications using the Vue.js framework, where the application is divided into separate pages: Code Maintenance: Splitting the application into multiple pages can make the code easier to manage and maintain. Modularity: Each page can be used as a separate module for easy reuse and replacement. Simple routing: Navigation between pages can be managed through simple routing configuration. SEO Optimization: Each page has its own URL, which helps SEO.

There are three ways to refer to JS files in Vue.js: directly specify the path using the <script> tag;; dynamic import using the mounted() lifecycle hook; and importing through the Vuex state management library.

Vue.js has four methods to return to the previous page: $router.go(-1)$router.back() uses <router-link to="/" component window.history.back(), and the method selection depends on the scene.

There are three common methods for Vue.js to traverse arrays and objects: the v-for directive is used to traverse each element and render templates; the v-bind directive can be used with v-for to dynamically set attribute values for each element; and the .map method can convert array elements into new arrays.

There are two ways to jump div elements in Vue: use Vue Router and add router-link component. Add the @click event listener and call this.$router.push() method to jump.
