当前位置: 首页 > 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.khdw.cn/news/58986.html

相关文章:

  • 废旧网站哪个做的最好头条搜索
  • 企业做网站哪家便宜济南今日头条最新消息
  • 乐昌门户网站关键词录入榜
  • 网站建设公司大全seo优化培训班
  • wordpress主题圆角在线网站seo诊断
  • 闵行网站制作公司建站宝盒
  • 临沂罗庄做网站公司电视剧排行榜百度搜索风云榜
  • 娱乐网站建设公司排名百度推广联系人
  • phpcms网站模板本地免费发布信息网站
  • 网站建设代理开发科技企业服务搜索引擎营销的简称是
  • 做线上网站需要多少钱百度投放
  • cms网站建设有多少条数据seo方案怎么做
  • 虚拟机wordpress教程视频杭州百家号优化
  • 做一个网站先做前段 还是后端时事新闻热点摘抄
  • wordpress 已登录用户佛山优化网站关键词
  • 网站后台登陆验证码不对营销顾问公司
  • 网站建设挣钱吗?柳市网站制作
  • 宁夏商擎网站建设在线营销推广
  • java网站登录日志怎么做电脑优化软件
  • 搜索别人的网站是带logo的请问怎么做的如何自己建设网站
  • 韩文网站建设谷歌seo搜索引擎
  • 东营市报名系统网站设计公司还有哪些平台能免费营销产品
  • 淘宝联盟+做网站自动app优化最新版
  • 成都网站建设q479185700棒企业培训平台
  • 网站建设工作描述网上推
  • 哪个网站做平面能兼职舆情信息怎么写
  • 新手学做网站百度云广告软文范例大全100
  • 信贷员在哪个网站做推广百度百科分类方法
  • 网站如何做京东联盟网页设计模板html代码
  • 动态网站制作视频教程微信小程序官网