上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 28 下一页

2021年12月20日

腾讯云CentOS 7 服务器之Linux系统详解

摘要: https://blog.csdn.net/weixin_33970449/article/details/88036592 阅读全文

posted @ 2021-12-20 19:37 左侧岚 阅读(26) 评论(0) 推荐(0) 编辑

运行nodejs项目,npm start启动项目import报错,SyntaxError: Cannot use import statement outside a module

摘要: $ npm start > m-mall-admin@1.0.0 start D:\SoftwareAndProgram\program\weixin\miniprogram\mini-mall\mini-mall-admin > babel-node ./bin/www (node:4488) W 阅读全文

posted @ 2021-12-20 15:53 左侧岚 阅读(664) 评论(0) 推荐(0) 编辑

启动node报错 Cannot use import statement outside a module

摘要: 解决 大概意思是nodejs不支持import语法,如果要支持,需要babel来支持。 babel的安装 所以我们来安装babel吧, 有了babel, 能够使用更多高级词法! 在项目根目录下,执行: cnpm install --save babel-core cnpm install --sav 阅读全文

posted @ 2021-12-20 14:45 左侧岚 阅读(925) 评论(0) 推荐(0) 编辑

nginx配置访问图片路径以及html静态页面的调取方法

摘要: 给大家讲一个快速配置nginx访问图片地址,以及访问html静态页面的配置。 1.实验环境 首先随便某个路径下创建相应的目录。如图下 2.在里面放自定义的html或者图片。 3.nginx配置 user root; worker_processes 1; #error_log logs/error. 阅读全文

posted @ 2021-12-20 11:33 左侧岚 阅读(2975) 评论(0) 推荐(0) 编辑

vue中使用svg-icon

摘要: 1 在src目录新建一个icons目录,目录结构如下 svg下面放iconfont的icon标签的svg标签文件,下下来复制粘贴即可使用 index.js文件: import Vue from 'vue' import SvgIcon from '@/components/SvgIcon'// sv 阅读全文

posted @ 2021-12-20 10:28 左侧岚 阅读(674) 评论(0) 推荐(0) 编辑

2021年12月19日

重磅:GitHub 上 100K+ Star 的前端面试开源项目汇总(进大厂必备)

摘要: https://github.com/InterviewMap/CS-Interview-Knowledge-Map建立最好的面试地图。目前的内容包括js、网络、浏览器相关、性能优化、安全性、框架、git、数据结构、算法等。 https://github.com/Advanced-Frontend/ 阅读全文

posted @ 2021-12-19 22:19 左侧岚 阅读(878) 评论(0) 推荐(0) 编辑

部署

摘要: 前言 本文讲解的是:做为前端开发人员,对服务器的了解还是小白的我,是如何一步步将 node+mongodb 项目部署在阿里云 centos 7.3 的服务器上,并进行性能优化,达到页面 1 秒内看到 loading ,3 秒内看到首屏内容的。 搭建的项目是采用了主流的前后端分离思想的,这里只讲 服务 阅读全文

posted @ 2021-12-19 22:12 左侧岚 阅读(565) 评论(0) 推荐(0) 编辑

js "a,12,b,12" 解析成 a=12 b=12

摘要: this.list.map((item) => { console.log(item, "我正在测试 时间"); item.created = parseTime(item.created); // param: "a,12" "a,12,b,12" a=12 b=12 //第一种方法 var ar 阅读全文

posted @ 2021-12-19 13:59 左侧岚 阅读(40) 评论(0) 推荐(0) 编辑

2021年12月15日

js 正则匹配指定字符串 ./reports/test.html 需要截取test.html 获取./reports/ 路径可能也会是../../../ 不管你多少个/,都会的最后一个之前的

摘要: 阅读全文

posted @ 2021-12-15 11:14 左侧岚 阅读(17) 评论(0) 推荐(0) 编辑

2021年12月8日

vue css scoped

摘要: 起作用 .blockchainLoads /deep/ .el-input__inner { color: white !important; } 不起作用 .blockchainLoads .el-input .el-input__inner { color: white !important; 阅读全文

posted @ 2021-12-08 11:01 左侧岚 阅读(23) 评论(0) 推荐(0) 编辑

上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 28 下一页

导航