Commit graph

5 commits

Author SHA1 Message Date
Max Proske
0f4333a5a3
chore(examples): Convert blog example to TypeScript (#38095)
Converted Blog example over to TypeScript to match the Contribution guidelines.

I also simplified the example by removing `_document.js` and prettier from `package.json`.

## Documentation / Examples

- [X] Make sure the linting passes by running `pnpm lint`
- [X] The examples guidelines are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing.md#adding-examples)
2022-07-06 19:33:16 +00:00
Nikita Brancatisano
4f1d95b963
Updated to working example (#32256)
## Bug

Since the MDX update to v2 the example stopped working and it renders a raw .md page in the "Posts" route. 

![image](https://user-images.githubusercontent.com/33670112/145102450-caba33b2-246b-4809-ab96-a787aae16df0.png)

This fixes the issue and upgrades the `--example blog`
2021-12-12 20:43:41 +00:00
Luc Leray
f52955ec94
Clean up examples package.json (#27121)
Clean up package.json files in the `examples` directory:
- Add `private: true`
- Remove `version` (because they are irrelevant for packages that are not meant to be published)
- Remove `name` (because they are optional for packages that are not meant to be published, and when someone clones an example, they often rename it and the property becomes stale)
- Remove `author`
- Remove `description`
- Remove `license`

Also remove `with-dynamic-app-layout` example completely, since it does the same as `layout-component` (https://github.com/vercel/next.js/pull/27121#discussion_r668178408).

## Documentation / Examples

- [x] Make sure the linting passes
2021-07-12 19:58:03 +00:00
Lee Robinson
361b56b2c2
Update dependencies for blog starter. (#23317)
Closes https://github.com/vercel/next.js/issues/23299 to fix issues with NPM 7.
2021-03-23 20:02:03 +00:00
Lee Robinson
6a418b7da9
[examples] Add portfolio starter kit. (#23212) 2021-03-21 19:44:59 -05:00