gjy 97f885cb9d '' | 1 year ago | |
---|---|---|
build | 2 years ago | |
public | 1 year ago | |
src | 1 year ago | |
theme | 2 years ago | |
.DS_Store | 2 years ago | |
.editorconfig | 2 years ago | |
.env.development | 2 years ago | |
.eslintrc.js | 2 years ago | |
.gitignore | 2 years ago | |
README.md | 1 year ago | |
babel.config.js | 2 years ago | |
jest.config.js | 2 years ago | |
jsconfig.json | 2 years ago | |
package-lock.json | 1 year ago | |
package.json | 1 year ago | |
postcss.config.js | 2 years ago | |
vue.config.js | 1 year ago |
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全局搜索替换)