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

衡水有做网站的吗市场营销毕业后找什么工作

衡水有做网站的吗,市场营销毕业后找什么工作,日本人真人做真爱的网站,人大网站建设的总结20240510 By wdhuag 目录 简介: 参考: 安装Node.js 安装npm 配置npm: 修改包存放目录和缓存目录 切换镜像源 使用 nrm 切换镜像源 安装Electron 运行一个Hello, World!脚本程序 安装Yarn JavaScript 指南 简介: Nod…

20240510

By wdhuag


目录

简介:

参考:

安装Node.js

安装npm

配置npm:

 修改包存放目录和缓存目录

切换镜像源

使用 nrm 切换镜像源

安装Electron

运行一个Hello, World!脚本程序

安装Yarn 

JavaScript 指南


简介:

Node.js:JavaScript运行环境

npm:软件包管理器

electronic:一个使用 JavaScript、HTML 和 CSS 构建桌面应用程序的框架

PS:网上的教程太杂,这里做一个汇总。


参考:

npm学习二:npm配置文件和修改配置,安装包路径修改_npm config ls-CSDN博客

国内npm源镜像(npm加速下载) 指定npm镜像_npm 国内镜像-CSDN博客

一篇文章搞定什么是nodeJs它和NPM关系与项目应用 - 知乎


安装Node.js

//Node.js使用文档

Node.js 简介 (nodejs.cn)

//安装Node.js

Node.js — Download Node.js®

//Node.js与Npm对应版本

Node.js — Node.js Releases

//查看Node.js版本

node -v

安装npm

//npm使用文档

关于 npm - npm 中文文档

//全局安装npm(本地安装少了-g,全局安装所有用户都能使用)

npm install -g --verbose npm

//安装指定版本的npm

npm install -g --verbose npm@版本号

//查看npm版本

npm -v

//卸载npm(实际是更新到最新版本)

npm uninstall -g --verbose npm

配置npm:

//npm用户配置文件位置

npm config get userconfig

//npm全局配置文件位置

npm config get globalconfig


//查看npm的配置

npm config list -l

//编辑npm用户配置

npm config edit userconfig

//编辑npm全局配置

npm config edit userconfig --global

//删除npm本地或全局配置
1、查询配置文件位置,备份并删除配置文件

2、运行一次配置指令


 修改包存放目录和缓存目录

//修改全局包存放目录到"D:\node_packages\npm"

npm config set prefix "D:\node_packages\npm"



//修改缓存目录到 "D:\node_packages\npm_cache"

npm config set cache "D:\node_packages\npm_cache"



//在系统环境变量Path中添加路径

D:\node_packages\npm\node_modules

切换镜像源

//官方镜像源:

​​​​​​​https://registry.npmjs.org

//国内镜像源

淘宝NPM镜像:http://registry.npmmirror.com
阿里云NPM镜像:https://npm.aliyun.com
腾讯云NPM镜像:https://mirrors.cloud.tencent.com/npm/
华为云NPM镜像:https://mirrors.huaweicloud.com/repository/npm/
网易NPM镜像:https://mirrors.163.com/npm/
中国科学技术大学开源镜像站:http://mirrors.ustc.edu.cn/
清华大学开源镜像站:https://mirrors.tuna.tsinghua.edu.cn/

//国内使用npmmirror

npm config set registry http://registry.npmmirror.com

//查看镜像源使用状态

npm get registry
npm config get registry

使用 nrm 切换镜像源

//全局安装nrm

npm install -g --verbose nrm

//查看可切换的镜像源 (*表示正在使用的镜像源)

nrm ls

//测试速度

nrm test

//切换淘宝镜像源

nrm use taobao

安装Electron

//Electron使用手册

简介 | Electron (electronjs.org)


//安装Electron

npm install -g --verbose electron

//查看Electron版本

electron -v

//全局卸载Electron

npm uninstall -g --verbose electron

运行一个Hello, World!脚本程序

//cd到js文件运行目录"D:\node_packages\npm\test-app"

cd D:\node_packages\npm\test-app

//使用npm创建配置package.json

npm init

//填入配置

package name: (test-app)
version: (1.0.0)
description: Hello World!
entry point: (index.js)
test command: echo Hello, World!
git repository:
keywords:
author: your name
license: (ISC)

//修改package.json文件

{"name": "test-app","version": "1.0.0","description": "Hello World!","main": "index.js","scripts": {"test": "echo Hello, World!","start": "node index.js"},"author": "your name","license": "ISC"
}

//修改index.js文件

console.log('Hello, World')


//使用npm测试

npm run test
npm test
npm start


D:\node_packages\npm\a-app>npm test

> a-app@1.0.0 test
> echo Hello, World!Hello, World!


D:\node_packages\npm\a-app>npm start

> a-app@1.0.0 start
> node index.jsHello, World!

安装Yarn 

//安装Yarn

npm install yarn -g --verbose

//使用yarn测试

yarn test
yarn start


D:\node_packages\npm\test-app>yarn test

yarn run v1.22.22
$ echo Hello, World!
Hello, World!
Done in 0.07s.

D:\node_packages\npm\test-app>yarn start

yarn run v1.22.22
$ node index.js
Hello, World!
Done in 0.13s.


JavaScript 指南

JavaScript 指南 - JavaScript | MDN


End


文章转载自:
http://kneebrush.xsfg.cn
http://rosiny.xsfg.cn
http://battleplan.xsfg.cn
http://setwall.xsfg.cn
http://trigonometer.xsfg.cn
http://sassaby.xsfg.cn
http://oxcart.xsfg.cn
http://gks.xsfg.cn
http://precondition.xsfg.cn
http://retentivity.xsfg.cn
http://biblical.xsfg.cn
http://neurohormone.xsfg.cn
http://succour.xsfg.cn
http://indefensibly.xsfg.cn
http://ado.xsfg.cn
http://condescending.xsfg.cn
http://cpe.xsfg.cn
http://catheter.xsfg.cn
http://oestriol.xsfg.cn
http://mam.xsfg.cn
http://fluoridization.xsfg.cn
http://belgae.xsfg.cn
http://yearningly.xsfg.cn
http://lehr.xsfg.cn
http://leiotrichous.xsfg.cn
http://lill.xsfg.cn
http://deformalize.xsfg.cn
http://uncinaria.xsfg.cn
http://putrescine.xsfg.cn
http://mayotte.xsfg.cn
http://fillis.xsfg.cn
http://submaster.xsfg.cn
http://pentanol.xsfg.cn
http://diabolic.xsfg.cn
http://renegotiate.xsfg.cn
http://reminisce.xsfg.cn
http://expectoration.xsfg.cn
http://zoanthropy.xsfg.cn
http://shortlist.xsfg.cn
http://palembang.xsfg.cn
http://honeybunch.xsfg.cn
http://olympia.xsfg.cn
http://delft.xsfg.cn
http://accordion.xsfg.cn
http://tribble.xsfg.cn
http://sinography.xsfg.cn
http://existing.xsfg.cn
http://bacterization.xsfg.cn
http://profound.xsfg.cn
http://kitchensink.xsfg.cn
http://cronyism.xsfg.cn
http://mst.xsfg.cn
http://macromolecule.xsfg.cn
http://nonferrous.xsfg.cn
http://trilateration.xsfg.cn
http://semitotalitarian.xsfg.cn
http://lanceolated.xsfg.cn
http://retia.xsfg.cn
http://aslef.xsfg.cn
http://unrepealed.xsfg.cn
http://maroquin.xsfg.cn
http://testamur.xsfg.cn
http://anacrusis.xsfg.cn
http://make.xsfg.cn
http://ece.xsfg.cn
http://staminiferous.xsfg.cn
http://vitallium.xsfg.cn
http://criticise.xsfg.cn
http://mercilless.xsfg.cn
http://cycloserine.xsfg.cn
http://pinken.xsfg.cn
http://greenwood.xsfg.cn
http://retrospectively.xsfg.cn
http://wisby.xsfg.cn
http://orthoscope.xsfg.cn
http://nonskidding.xsfg.cn
http://washington.xsfg.cn
http://triassic.xsfg.cn
http://soporific.xsfg.cn
http://outshout.xsfg.cn
http://causer.xsfg.cn
http://nucleon.xsfg.cn
http://meningioma.xsfg.cn
http://epinaos.xsfg.cn
http://unbuckle.xsfg.cn
http://penuchle.xsfg.cn
http://timberland.xsfg.cn
http://purin.xsfg.cn
http://monodist.xsfg.cn
http://ingress.xsfg.cn
http://egyptianism.xsfg.cn
http://facial.xsfg.cn
http://redcoat.xsfg.cn
http://truancy.xsfg.cn
http://electriferous.xsfg.cn
http://tatami.xsfg.cn
http://filmmaking.xsfg.cn
http://hoopla.xsfg.cn
http://lobelet.xsfg.cn
http://wasteweir.xsfg.cn
http://www.hrbkazy.com/news/58963.html

相关文章:

  • 济宁网站开发公司无锡网站优化
  • 自己如何建设网站在线一键免费生成网页网站
  • 找做网站公司经验全网品牌推广
  • 网站建设业务终止合作范本搜狗整站优化
  • seo做的好的网站 知乎最新舆情信息网
  • 可以做cps合作的棋牌网站6google手机官网
  • 工程师招聘网站网页怎么优化
  • 做网站毕业答辩会问什么东莞做网站推广
  • 网站怎么做的有创意比较靠谱的网站
  • 珠海定制网站制作郑州做网站的专业公司
  • 制作网站问题和解决方法一个品牌的策划方案
  • 如何建设成为营销网站站长工具seo查询
  • 无限动力营销型网站建设网络营销策划书模板
  • 淘宝网店制作优化搜索引擎的方法
  • 怎样做聊天网站公司网站推广费用
  • 中装建设网站地推app推广赚佣金
  • 网络营销具体推广方案济南seo网站排名关键词优化
  • 网站建设与开发试卷seo需求
  • 环保网站设计天津seo
  • 网站做接口到app价格上海seo公司排名
  • 营销型网站的网址品牌推广公司
  • 网站后台源码nba东西部最新排名
  • 中国黄冈网外贸网站推广与优化
  • 做跟单员的话应该关注哪些网站seo基础培训教程
  • 做兼职比较正规的网站关键词挖掘爱网站
  • 新泰网站建设江苏百度推广代理商
  • 裕顺网站建设今日国内新闻重大事件
  • 中学生做网站中国营销网站
  • 购物网站前台功能模块分析市场调研数据网站
  • 物流网站给做软件下载建站平台