zoukankan
html css js c++ java
命令行创建 vue 项目(仅用于 Vue 2.x 版本)
1 、安装
Node.js
和
npm
( 验证安装成功输入下图 1 命令行可得 2;输入命令行 3 可得 4 即安装成功)
2、安装全局 webpack (安装依照下图输入命令行 1 耐心等待至到出现 2 表示成功)
3、安装全局 vue-cli (安装依照下图输入命令行 1 耐心等待至到出现 2 表示成功)
4、创建 vue 项目 (输入下图命令行,红线部分是你想要创建的项目名称)
5、第 4 步之后会出现一些对话选项,仅一项选 n 后按回车键(如下图红色区域对话选项), 其余全部按回车键
5.1、项目构建成功如下图所示(有红色框内的提示命令,按照命令输入即可启动项目)
6、启动项目(先切换到创建的项目目录下启动,步骤 5.1 提示命令进行后如下图)
7、成功(在浏览器中输入 localhost:8080 可得如下图所示。提示:保证 8080 不被占用)
查看全文
相关阅读:
java内存模型
类、对象和接口
Python--数据存储:pickle模块的使用讲解
Python--常用的内置函数
Python--迭代器和生成器的定义和案例
Python--作业2--对员工信息文件,实现增删改查操作
Python--文本基本操作
Python--字符串基本操作
Python--字典基本操作
Python--作业1--购物车程序
原文地址:https://www.cnblogs.com/zhourongcode/p/9206187.html
最新文章
数组的几种简单遍历
8th
connect error, url jdbc:jtds:sqlserver://xxxxxxxx:xxxxx;databaseName=******, driverCla
Mybatis与数据库的类型对应
java常用开发必备路劲(收集)
oracle安装11g以及建账号等等
oracle彻底删除干净
数据库设计笔记
springboot无法识别配置文件级解决办法
nginx安装记录
热门文章
springboot,eclipse打包出错处理
给定一个二叉树和其中的一个结点,请找出中序遍历顺序的下一个结点并且返回。
Android不同发行版本区别
equals()和==的区别
Android 广播
HTTP请求报文
service
Eventbus
java线程池
volatile关键字
Copyright © 2011-2022 走看看