【文件属性】:
文件名称:vite-starter-react-tailwind
文件大小:61KB
文件格式:ZIP
更新时间:2021-02-17 05:15:18
JavaScript
Vite入门模板
使用带有 , , 和下一代前端工具的网站模板。 未来的版本将通过GraphQL, 和 , 等提供更多的无服务器功能选项。
资源链接
入门
1.单击GitHub中的Use This Template按钮,或使用以下方法克隆存储库:
git clone https://github.com/mlaurel/vite-starter-react-tailwind.git website-name
2.导航到目录
cd website-name
3.安装依赖项
yarn
4.构建要部署的项目(即,树形hacking和purgeCSS)
yarn build
5.开发环境
使用无服务器功能进行开发和测试的最简单方法是安装Netlify CLI 。
yarn global add netlify-cli -g
然后跑...
netlify dev
或者,您可以使用.
【文件预览】:
vite-starter-react-tailwind-master
----netlify.toml(161B)
----index.html(306B)
----postcss.config.js(94B)
----yarn.lock(118KB)
----vite.config.js(195B)
----tailwind.config.js(456B)
----src()
--------views()
--------index.css(95B)
--------components()
--------App.jsx(572B)
--------main.jsx(219B)
----sample.env(37B)
----README.md(2KB)
----data()
--------sample.json(661B)
----.gitignore(75B)
----functions()
--------hello.js(244B)
--------util()
----package.json(596B)