Comandos para trabajar con VueJS

Cambiar directorio: cd/xampp vue-cli · Generated "appmaestroempleados". Instalar Vue CLI: npm install -g vue-cli vue init webpack-simple Instalar y desinstalar un componente: 1- npm install <nombre del plugin> 2- npm uninstall <nombre del plugin> To get started: cd appmaestroempleados npm install npm run dev Descargar e instalar el paguet router: npm install vue-router --save CLI Vue.js provides an official CLI for quickly scaffolding ambitious Single Page Applications. It provides batteries-included build setups for a modern frontend workflow. It takes only a few minutes to get up and running with hot-reload, lint-on-save, and production-ready builds: # install vue-cli $ npm install --global vue-cli # create a new project using the "webpack" template $ vue init webpack my-project # install dependencies and go! $ cd my-project $ npm install $ npm run dev

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.