jonbo 3c1813dcf4 a | hai 8 horas | |
---|---|---|
build | hai 1 semana | |
public | hai 1 día | |
src | hai 8 horas | |
target | hai 1 semana | |
theme | hai 1 semana | |
.DS_Store | hai 1 semana | |
.editorconfig | hai 1 semana | |
.env.development | hai 1 semana | |
.eslintrc.js | hai 1 semana | |
.gitignore | hai 1 semana | |
README.md | hai 1 semana | |
babel.config.js | hai 1 semana | |
jest.config.js | hai 1 semana | |
jsconfig.json | hai 1 semana | |
postcss.config.js | hai 1 semana |
npm install npm install --ignore-scripts
npm install --registry=https://registry.npm.taobao.org
npm run dev
npm install core-js@2
npm install gifsicle@5.1.0
cnpm install node-sass@latest
npm install typescript ts-loader --save-dev npm install --save vue-class-component npm install vue-property-decorator --save-dev
npm run preview
npm run preview -- --report
npm run lint
npm run lint -- --fix
npm run build:stage
npm run build:prod
var cpt = require('./cpt' + 'able'); 改成: var cpt = cptable;
npm install @babel/plugin-proposal-nullish-coalescing-operator npm install @babel/plugin-proposal-optional-chaining
npm install x2js
npm install --save countup.js
npm cache clean -f
rm -r node_modules
npm install
npm install jsencrypt
项目中使用的词云 echarts-wordcloud2.x 插件 由于项目中同时使用了 echarts4.9.0 和 echarts5.2.2,需要修改 node_modules 下的 echarts-wordcloud 的源码 修改方式如下: 1.echarts-wordcloud 下的 index.d.ts 中第一行改为:import echarts from 'echarts5'; 2.echarts-wordcloud 下的 src 下的 wordCloud.js、WordCloudSeries.js、WordCloudView.js 第一行改为:import * as echarts from 'echarts5/lib/echarts';
node_modules\echarts-gl下的文件将依赖路径中 echarts/lib/……改为 echarts5/lib/(可用ide全局搜索替换)
npm uninstall echarts-gl npm install echarts-gl@1
1、全局安装:npm install -g increase-memory-limit 2、项目目录下执行命令:increase-memory-limit 3、去除 "webpack.cmd"、vue-cli-service.cmd、webpack-dev-server.cmd 使用 "%_prog%" 替换为 %_prog%