【文件属性】:
文件名称:gatsby-pizza-delivery
文件大小:1.2MB
文件格式:ZIP
更新时间:2024-05-21 13:26:38
react gatsby cart mdx gatsbyjs
盖茨比初学者比萨
专为送货业务设计的启动器
安装
gatsby new project-name https://github.com/gatsbytemplates/gatsby-starter-pizza.git
或手动:
下载
解压缩
安装部门:
npm i
特征
内置高速缓存的购物车
带有集成的订单
购物车动画
物品编辑
所有披萨都位于内容文件夹中,您可以将其编辑为mdx文件。 当前仅使用来自frontmatter的信息
样式定制
此启动器在Emotion支持的样式化组件内部使用了顺风CSS。 使这成为可能
例子:
import tw from 'twin.macro' ;
import styled from '@emotion/styled' ;
const Date = styled . div `
${ tw `
uppercase px-6 font-
【文件预览】:
gatsby-pizza-delivery-master
----gatsby-browser.js(43B)
----.gitignore(981B)
----gatsby-config.js(2KB)
----.babelrc(217B)
----package.json(2KB)
----package-lock.json(1.24MB)
----src()
--------components()
--------utils()
--------pages()
----.nvmrc(8B)
----LICENSE(1KB)
----static()
--------robots.txt(24B)
--------favicon.ico(198B)
----.prettierignore(45B)
----.eslintrc.js(900B)
----.directory(83B)
----README.md(2KB)
----gatsby-node.js(509B)
----font-preload-cache.json(81B)
----tailwind.config.js(845B)
----content()
--------assets()
--------pizza()
----.prettierrc(90B)