惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

博客园 - Franky
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
有赞技术团队
有赞技术团队
aimingoo的专栏
aimingoo的专栏
WordPress大学
WordPress大学
人人都是产品经理
人人都是产品经理
酷 壳 – CoolShell
酷 壳 – CoolShell
L
LangChain Blog
Blog — PlanetScale
Blog — PlanetScale
阮一峰的网络日志
阮一峰的网络日志
Microsoft Azure Blog
Microsoft Azure Blog
云风的 BLOG
云风的 BLOG
Google DeepMind News
Google DeepMind News
T
The Blog of Author Tim Ferriss
G
Google Developers Blog
Hugging Face - Blog
Hugging Face - Blog
Y
Y Combinator Blog
D
DataBreaches.Net
Engineering at Meta
Engineering at Meta
MyScale Blog
MyScale Blog
大猫的无限游戏
大猫的无限游戏
S
SegmentFault 最新的问题
The GitHub Blog
The GitHub Blog
Recent Announcements
Recent Announcements

Vite

JavaScript 很烂:用 Vite 和 Gleam 来构建网站吧 vite 通过局域网或者端口转发进行访问时特别慢。 vite+vue3 有什么插件可以让编译后的 js 被加密保护吗。类似 jsjiami.com 那样 vite 有什么插件会把 unicode 转成中文吗 请教: vite + electron.js + vue.js 3 开发桌面软件,无法在 renderer 中加载 C++ node module 请教一个 vite 代理的问题 请问各位大佬一个 vite 插件的问题 vite 设置生产环境 baseURL 为 /api/,真实请求会自动添加本机 ip 地址吗 Vite 执行 build 时如何能够自动添加其他文件到 dist 文件夹? element plus 按钮的问题,求帮助 问下前端大佬,VITE+ESLINT+VSCODE 在 编译阶段 不报错怎么解决? Vite + React + Ant Design + Tailwind CSS + ESLint + Prettier + TypeScript 最佳实践 vite+vue3+ts 自己搭建时候一些步骤及踩坑分享 How to use Vite to build all kinds of TypeScript projects, including CSR/SSR/CDN/MonoRepository 请问能否通过 vite 插件功能去修改项目中某一个文件的内容或者获取文件内容? vite 应该怎么学? vite 打包后,好好的功能报错了?有没有懂 vite 打包原理的大佬,求解一下 VitePress 如何创建自定义的 UI 主题
Vite+React+TS+Eslint+Prettier starter kit
XTTX · 2021-11-13 · via Vite

Vite 用 es-build, 速度就不用多讲了。对比 CRA, 好多地方有不同。 我花了不少时间,搜了不少东西,做了一个自己用的 starter kit.
Vite + React + Typescript + Eslint + Airbnb eslint rules + Airbnb Typescript rules + Prettier + env variable import + Absolute Import Path
https://github.com/jt6677/vite_ts_eslint_prettier_aribnbts
==============================================
!yes, tons of setup and config files.
==============================================
env variable import:
You need to add type in env.d.ts like "readonly VITE_ANYTHING: string"
variables MUST start with VITE_
usage of env variable in your app, no need to import, just use it as a global variable: console.log(import.meta.env.VITE_API_URL)
==============================================
Absolute Import Path
import App from "~/components". ~/ is the absoulte path, equal to ./src
==============================================
reverse Proxy in vite.config.ts