如何使用 create-react-app 创建 React 项目
参考官网 https://create-react-app.dev
使用工具初始化项目
npx create-react-app my-app
如果你喜欢使用 typescript
npx create-react-app my-app --template typescript
安装依赖 npm install –save "@tinymce/tinymce-vue@^4&q…
初始化一个 npm 项目 安装相关依赖 注意 rollup 使用的版本 关于插件详情,可以从插件列表检索信息。…
Prettier 是一个固执己见的代码格式化程序。官网 安装 –save-exact的作用就是固定依赖包的版…
使用 a 标签下载,会遇到部分类型无法下载,而是直接打开。使用 window.open 也不是很好的方案。 我…
有没有想过封装 vue 组件?本文主要参考官网的库模式 组件库项目 创建项目 创建项目文件夹,比如 ui,然后…