码迷,mamicode.com
首页 >  
搜索关键字:nodejs npm nrm    ( 15303个结果
Node.js--package.json
一、基本知识 1. npm安装package.json时 直接转到当前项目目录下用命令npm install 或npm install --save-dev安装即可,自动将package.json中的模块安装到node-modules文件夹下 2. package.json 中添加中文注释会编译出错 ...
分类:Web程序   时间:2020-12-17 12:42:14    阅读次数:4
在Vue中使用Highcharts
1.首先安装highcharts npm install highcharts --save 2.代码引入 //可以根据实际需求来引入对应的包 import Highcharts from 'highcharts/highstock'; import HighchartsMore from 'hig ...
分类:其他好文   时间:2020-12-17 12:41:04    阅读次数:2
webpack——1、项目初始化及配置
注意: 基于 webpack 5.x 版本。参考官方文档:https://webpack.js.org/guides/getting-started/#npm-scripts 1、初始化项目 创建文件夹 webpacktest ,在此文件夹路径下执行以下命令,创建 package.json 文件,用 ...
分类:Web程序   时间:2020-12-17 12:08:44    阅读次数:2
vue富文本编辑器
npm i wangeditor --save 页面单独引入 import E from "wangeditor"; <div id="div1"></div> data(){ return{ editor:null, } } mounted() { const editor = new E('#d ...
分类:其他好文   时间:2020-12-15 12:13:24    阅读次数:3
node.js更换镜像源
1、首先输入 npm get registry 查看当前镜像源,默认为 https://registry.npmjs.org/(npm默认镜像源) 2,修改镜像源 npm config set registry xxx(镜像源地址) 国内一般使用淘宝镜像源 npm config set regist ...
分类:Web程序   时间:2020-12-15 11:45:50    阅读次数:5
vue install 报错 npm ERR! Unexpected end of JSON input while parsing near '...//registry.npmjs.org/'解决方案
vue 刚拉下来的项目, npm install时 出现error:npm ERR! Unexpected end of JSON input while parsing near '…//registry.npmjs.org/ 解决方案 npm cache clean --force 重启 cac ...
分类:Web程序   时间:2020-12-14 13:23:48    阅读次数:6
如何寻找node.js 与win7兼容的版本?eclipse中引入bootstrap。
node.js 最新版本与win7不兼容。 进入node官网,点击other downloads 点击previous Release,查找任意所需要的的版本,找到后缀为msi的进行下载。 安装完成后进行测试: node -v npm -v 查看版本号 第二,去bootstrap官网下载资源包,在j ...
分类:Windows程序   时间:2020-12-14 12:55:45    阅读次数:5
vue-element-admin-master
vue-element-admin-master npm install 出错 一丶报错信息 二丶解决方案 输入 npm config set sass_binary_site=https://npm.taobao.org/mirrors/node-sass 再次 npm insatll 启动 np ...
分类:其他好文   时间:2020-12-14 12:52:35    阅读次数:2
vue html2canvas + qrcode 画分享图
安装 npm install html2canvas --save npm install qrcodejs2 --save //二维码 引入 import html2canvas from 'html2canvas' import QRCode from 'qrcodejs2'; 生成二维码 <d ...
分类:Web程序   时间:2020-12-11 11:57:55    阅读次数:5
vue element-ui upload在图片上传之前进行压缩操作
1、安装插件 npm install --save image-conversion 2、引入插件 import { compressAccurately } from 'image-conversion' //按需引入 3、在图片上传之前对图片进行压缩 /** 在图片上传前before-uploa ...
分类:Web程序   时间:2020-12-11 11:56:21    阅读次数:7
15303条   上一页 1 ... 37 38 39 40 41 ... 1531 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!