FrontendDeveloper.in

Vue.js question detail

What is instant prototyping?

In Vue CLI, Instant prototyping is known as rapid prototyping with just a single *.vue file with the vue serve( similar to vue create) and vue build commands. But you need to install below global addon for this.

npm install -g @vue/cli-service-global
# or
yarn global add @vue/cli-service-global

You can also provide entry component for vue serve and target file for vue build using below commands

vue serve MyComponent.vue
vue build MyComponent.vue
Back to all Vue.js questions
Get LinkedIn Premium at Rs 399