vue3 vite 根据目录生成路由

摘要: vite 勾选 vue-router 搭建好项目后,routes部分示例代码为 routes: [ { path: '/', name: 'home', component: HomeView }, { path: '/about', name: 'about', // route level co 阅读全文
posted @ 2023-10-26 10:42 yxc5354 阅读(141) 评论(0) 推荐(0) 编辑

debian/ubuntu下安装nodejs npm

摘要: 举例:在 /home 目录下 wget https://nodejs.org/dist/v16.17.1/node-v16.17.1-linux-x64.tar.xz nodejs官网下载地址,目前最新版,以后有更新就换新的地址,wget下来,解压 tar -xvf node-v16.17.1-li 阅读全文
posted @ 2022-09-29 16:03 yxc5354 阅读(171) 评论(0) 推荐(0) 编辑

安装ffmpeg

摘要: 官网 http://www.ffmpeg.org/download.html linux安装 https://johnvansickle.com/ffmpeg/,64位处理器 下载完 tar -xvf ffmpeg-release-amd64-static.tar.xz 建立软连接 sudo ln 阅读全文
posted @ 2022-06-21 23:38 yxc5354 阅读(53) 评论(0) 推荐(0) 编辑

win11装wsl ubuntu操作记录

摘要: 应用商店安装Windows Subsystem for Linux Preview ubuntu 查看已经安装的WSL版本,以及分发版对应的VERSION wsl -l -v 看到Ubuntu版本是1,设置WSL的版本为1 wsl --set-default-version 1 成功打开 密码远程控 阅读全文
posted @ 2022-06-21 11:18 yxc5354 阅读(64) 评论(0) 推荐(0) 编辑

混淆css类名

摘要: 使用vite: 阅读全文
posted @ 2022-05-10 15:29 yxc5354 阅读(97) 评论(0) 推荐(0) 编辑

yarn 安装全局包

摘要: yarn 安装全局包,无法使用,需要添加yarn的bin文件夹到环境变量 然后重启一下即可使用,再装其他全局包也可直接使用 阅读全文
posted @ 2022-05-06 00:43 yxc5354 阅读(182) 评论(0) 推荐(0) 编辑