2022年4月18日

Module build failed: Error: Plugin/Preset files are not allowed to export objects, only functions的解决

摘要: 一、问题出现:在进行 nuxt 创建项目的过程中,出现了这样的异常, Module build failed: Error: Plugin/Preset files are not allowed to export objects, only functions,如下图所示: 二、问题分析及解决: 阅读全文

posted @ 2022-04-18 15:30 左侧岚 阅读(717) 评论(0) 推荐(0) 编辑

crypto.js 加密 import CryptoJS from 'crypto-js';

摘要: <html> <head> <title>>前端js加解密学习过程</title> </head> <body> </body> <!-- base64 --> <script> var str = "beijing"; var str64 = window.btoa(str); console.l 阅读全文

posted @ 2022-04-18 14:36 左侧岚 阅读(274) 评论(0) 推荐(0) 编辑

导航