logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

前端代码规范神器之f2elint的使用教程

日常开发中,项目基本上都是由多个人进行开发和维护,每个人的代码书写习惯和风格又不尽相同,commit的提交信息也是杂乱无章,为以后的开发和维护增添了很多困难。F2ELint是《阿里巴巴前端规约》的配套Lint工具,可以为项目一键接入规约、一键扫描和修复规约问题,保障项目的编码规范和代码质量。安装好后无需配置,插件会自动找到项目中的.eslintrc.js、.stylelintrc.js、.pret

#前端#代码规范#javascript
python将list转换为csv

将如下列表数据转为csv文件。

#python#pandas#开发语言
docker常用命令及设置开机自启

docker常用命令及设置开机自启

文章图片
#docker#容器#运维
vue移动端适配方案 - px 自动转 rem

1.安装lib-flexibleyarn add lib-flexible2.引入lib-flexible# src/main.tsimport 'lib-flexible/flexible'3.安装postcss-pxtoremyarn add lib-flexible4.在根目录下新建 postcss.config.js# project_name/postcss.config.jsmodul

#vue.js#前端
vue切换页面/路由跳转后,页面不会置顶的解决方案

场景:使用vue-router组件,进行页面切换,切换后的页面滚动条还停留在上一级页面的位置,没有置顶。需求:每次跳转新页面时,都置顶显示。解决方案:在vue的router目录下的index.js文件中进行配置://修改前const routes = []...const router = new VueRouter({routes,})//修改后const routes = []...const

#vue.js
vue3路由模式为history,打包后页面空白的处理方式

场景vue-router 的 hash 模式时,url始终待着’#‘,如’http://localhost:8080/#/index.html’。如果要去掉’#'号,那么就需要把 vue-router 的 hash 模式改为 history(html5)模式。# vue3const router = createRouter({//hash 模式// history: createWebHashH

基于 xterm + websocket + vue 实现网页版终端 terminal

基于 xterm + websocket + vue 实现网页版终端 terminal

#websocket#vue.js#前端
vue3路由模式为history,打包后页面空白的处理方式

场景vue-router 的 hash 模式时,url始终待着’#‘,如’http://localhost:8080/#/index.html’。如果要去掉’#'号,那么就需要把 vue-router 的 hash 模式改为 history(html5)模式。# vue3const router = createRouter({//hash 模式// history: createWebHashH

vue移动端适配方案 - px 自动转 rem

1.安装lib-flexibleyarn add lib-flexible2.引入lib-flexible# src/main.tsimport 'lib-flexible/flexible'3.安装postcss-pxtoremyarn add lib-flexible4.在根目录下新建 postcss.config.js# project_name/postcss.config.jsmodul

#vue.js#前端
基于 xterm + websocket + vue 实现网页版终端 terminal

基于 xterm + websocket + vue 实现网页版终端 terminal

#websocket#vue.js#前端
    共 13 条
  • 1
  • 2
  • 请选择