当前位置: 首页 > news >正文

网站常用的字体建设网站一般流程

网站常用的字体,建设网站一般流程,正版海外自媒体服务器官网,建设一个购物网站需要多少钱一、介绍 vue式前端框架,是一套用于构建用户界面的渐进式框架 1、安装vue 安装node.js(配置环境变量) https://nodejs.org/en/download/ 更换镜像 npm config set registry https://registry.npm.taobao.org 查看镜像 npm config get regi…

一、介绍

vue式前端框架,是一套用于构建用户界面的渐进式框架

1、安装vue

安装node.js(配置环境变量)
https://nodejs.org/en/download/
更换镜像
npm config set registry https://registry.npm.taobao.org
查看镜像
npm config get registry
安装cnpm
npm install -g cnpm
配置cnpm镜像
cnpm config set registry http://registry.npm.taobao.org
安装vue脚手架
cnpm install -g @vue/cli
查看版本信息
vue --version

问题记录:

vue : 无法加载文件 D:\node-v18.14.2-win-x64\node_global\vue.ps1,因为在此系统上禁止运行脚本。有关详细信息,请参阅 https:/go.microsoft.com
/fwlink/?LinkID=135170 中的 about_Execution_Policies。解决(修改命令行安全策略):
get-ExecutionPolicy
# 显示Restricted (禁用)
set-ExecutionPolicy RemoteSigned
get-ExecutionPolicy
#显示RemoteSigned

2、创建项目

(1)创建工程

# 项目名称中不可以有大写字母
vue create vue-demoVue CLI v5.0.8
? Please pick a preset: (Use arrow keys)Default ([Vue 3] babel, eslint)       默认3的版本Default ([Vue 2] babel, eslint)       默认2的版本
>  Manually select features			   手动选择
选择手动选择(使用上下切换,使用回车选择)Vue CLI v5.0.8
? Please pick a preset: Manually select features
? Check the features needed for your project: (Press <space> to select, <a> to toggle all, <i> to invert selection, and <enter> to proceed)
>(*) Babel( ) TypeScript	(*) Progressive Web App (PWA) Support( ) Router	路由(导航)( ) Vuex	数据管理( ) CSS Pre-processors() Linter / Formatter	代码规范化(代码格式严格,取消勾选防止误报)( ) Unit Testing( ) E2E Testing使用空格勾选Vue CLI v5.0.8
? Please pick a preset: Manually select features
? Check the features needed for your project: (Press <space> to select, <a> to toggle all, <i> to invert selection, and 
? Check the features needed for your project: Babel, PWA
? Choose a version of Vue.js that you want to start the project with (Use arrow keys)
> 3.x2.x选择版本Vue CLI v5.0.8
? Please pick a preset: Manually select features
? Check the features needed for your project: (Press <space> to select, <a> to toggle all, <i> to invert selection, and 
? Check the features needed for your project: Babel, PWA
? Choose a version of Vue.js that you want to start the project with 3.x      
? Where do you prefer placing config for Babel, ESLint, etc.? (Use arrow keys)
> In dedicated config filesIn package.json配置存放位置Vue CLI v5.0.8
? Please pick a preset: Manually select features
? Check the features needed for your project: (Press <space> to select, <a> to toggle all, <i> to invert selection, and 
? Check the features needed for your project: Babel, PWA
? Choose a version of Vue.js that you want to start the project with 3.x      
? Where do you prefer placing config for Babel, ESLint, etc.? In dedicated config files
? Save this as a preset for future projects? (y/N) n
是否将选项设置为下次预设Vue CLI v5.0.8
✨  Creating project in E:\vsCode\vue\vue-demo.
⚙️  Installing CLI plugins. This might take a while...added 968 packages in 3m
�🚀  Invoking generators...
�📦  Installing additional dependencies...added 18 packages in 2m
⚓  Running completion hooks...�📄  Generating README.md...�🎉  Successfully created project vue-demo.
�👉  Get started with the following command$ cd vue-demo$ npm run serve
已经创建成功

(2)运行项目

进入目录
cd vue-demo
执行项目
npm run serveDONE  Compiled successfully in 6817ms                                                                                                          22:09:17App running at:- Local:   http://localhost:8080/- Network: http://192.168.1.8:8080/Note that the development build is not optimized.To create a production build, run npm run build.成功运行

二、vscode安装插件

插件插件名称:Vue Language Features (Volar)

http://www.yayakq.cn/news/176403/

相关文章:

  • jsp如何做网站界面浙江省建筑信息港官网
  • 网站怎么做直播间自助旅游网站开发分析报告
  • 网站的命名规则外贸网站wordpress加ssl
  • 杭州市城市建设学校网站登录自治区建设厅的网站查询
  • 做动漫姓氏头像的网站杭州建网站
  • 网站哪里做asp网站源码安装教程
  • 确定网站主题然后规划网站建设广州市服务好的网站制作排名
  • 网站 二次开发怎么做企业管理系统软件有哪些
  • wordpress页面颜色魔方优化大师官网下载
  • 做网站要租服务器中国建设领域专业人员网站
  • 健康湖州网站网络架构有哪些
  • 积分兑换商城网站建设建行深圳分公司
  • 网站轮播效果怎么做微商怎么做分销
  • 做外贸网站服务器要选择哪里的建设网站能盈利吗
  • 网站开发大公司需要资格证吗安徽省建设干部网站
  • 金华网站制作推广建设路小学家校互动平台网站
  • h5网站建设报价多少钱微信小程序saas平台
  • 建设网站需要多少钱济南兴田德润o厉害吗国外永久浏览器
  • 旅游网站用dw怎么做jsp网站开发环境搭建
  • 免费做公益网站二手交易网站开发方式
  • discuz 网站搬家做网站 给图片加链接
  • 网站备案号示例精品课程网站建设摘要
  • 广东微信网站制作报价开发app用什么工具
  • 企业门户网站开发平台的设计与实现韩国儿童才艺网站建设模板
  • 什么是网站的栏目和板块教育门户网站模板
  • 网站开发人员属于什么沈阳做网站找黑酷科技
  • 做pc端的网站首页尺寸是多少正规的网站制作
  • 足球比方类网站开发wordpress删除文章数据
  • 贾汪微网站开发做押韵句子的网站
  • 网上做造价网站建筑人才网 中高端招聘网站