Luis Alvarez D
2cd691050a
Add new import flow to CMS examples ( #14053 )
...
[ch2502]
- Added new import flow to every CMS example, using the deploy button, and removed `vercel.json`
- Replaced `dotenv` with the new env support in outdated examples
2020-06-11 23:44:23 +00:00
Greg Rickaby
58c7265ba0
Update DatoCMS Example ( #13008 )
...
👋🏻 This PR updates the Datocms example:
- [x] Next.js 9.4 absolute import and aliases support
- [x] Next.js 9.4 native `.env` support
- [x] Tailwind 1.4 native PurgeCSS support
- [x] Chore: bump other dependencies, like React, Remark, and DateFNS
I've tested this PR here:
- 💻 https://github.com/gregrickaby/datocms-next-js-blog-demo-2392
- 👀 https://datocms-next-js-blog-demo-2392.now.sh/
2020-05-19 23:13:35 +00:00
Joe Haddad
dbad9db68c
Update Examples for Fast Refresh ( #13068 )
2020-05-18 17:44:18 -04:00
Joe Haddad
86160a5190
Upgrade to Prettier 2 ( #13061 )
2020-05-18 15:24:37 -04:00
Joe Haddad
b41f9baaa4
Fix up CMS examples ( #12840 )
2020-05-13 14:13:14 -04:00
Yuji Matsumoto
67fd72b764
Fix preview-mode docs/examples typo ( #11345 )
...
be know => be known
2020-03-25 18:13:33 +01:00
Joe Haddad
39ed664966
Fix Lint
2020-03-12 09:09:12 -04:00
Brad Larson
3b5029fb92
cms-datocms SerializableError fixes ( #10986 )
2020-03-12 13:07:57 +01:00
Shu Uesugi
bf0ea49b02
DatoCMS Example ( #10891 )
...
* Copy cms-datocms
* Update package.json
* Desktop design
* Tablet support
* Mobile styles
* Update titles
* Add article page
* Minor tweaks
* Fix height issue
* Improve text colors
* Extract Alert and Footer components
* Extract avatar
* Add Date
* Extract container
* Fix capitalization
* Make it work with no backend
* Add paragraph styles
* Extract PostPreview
* Extract h2
* Extract more stories
* Refactor into more components
* Update tags
* Add missing key
* Add custom document for lang="" support
* Add dotenv
* Load data for the index page
* Limit posts
* Show post page
* Add markdown processing
* Forgot margin
* Add links
* Remove files and add fallback
* Add og:image
* Add favicon
* Add aria-label
* Fix prerender
* Learn more → read documentation
* Fix links and footer
* Desaturate using imgix
* Add preview secret
* Add preview support
* Fix preview code
* Exit preview mode
* Extract getAllPostsWithSlug
* Extract getAllPostsForHome
* Extract getPreviewPostBySlug
* Extract getPostAndMorePosts
* Extract constants
* Extract markdownToHtml
* Fix markdown styles
* Fix imgix for author
* Add README
* Add links to docs
2020-03-09 11:51:08 +01:00