06 2022 档案
摘要:第一步: 新建2个文件夹,分别在下面安装vue2vue3; 这里注意的是,不要 -g 全局安装; vue2 安装:npm install vue-cli@2.9.6 vue3 安装:npm install @vue/cli 第二步: 在各自的文件下会生成node_modules依赖包文件夹;然后在n
阅读全文
摘要:1、安装依赖 npm install postcss-px-to-viewport --save 2、修改文件.postcssrc.js module.exports = { "plugins": { "postcss-import": {}, "postcss-url": {}, "postcss
阅读全文
摘要:第一步:安装prerender-spa-plugin npm install prerender-spa-plugin --save-dev 第二步:build/webpack.prod.conf.js const PrerenderSPAPlugin = require('prerender-sp
阅读全文