Skip to content

Commit 95d3368

Browse files
authored
Merge pull request #17 from RSG-Group/new-example
Port example to Next.js. Document it.
2 parents 157166c + 5f26782 commit 95d3368

File tree

21 files changed

+42
-2387
lines changed

21 files changed

+42
-2387
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,13 @@ import { Checkbox } from "rsg-components";
5555
render(<Checkbox props>children</Checkbox>, document.getElementById("app"));
5656
```
5757

58+
An example in Next.js w/ aphrodite-jss is in `example/`.
59+
60+
Run `yarn` or `npm i` here, then run `yarn build-example` or `npm run build-example`.
61+
62+
Then run `yarn` and then `yarn dev` (or `npm i` and then `npm run dev` if you use npm) inside the `example` folder to run the example.
63+
64+
5865
View all components, props and styles on the GitHub wiki page: [https://github.com/RSG-Group/rsg-components/wiki/](https://github.com/RSG-Group/rsg-components/wiki/)
5966

6067
## [Tutorial on YouTube by @radi-cho](https://www.youtube.com/playlist?list=PLBKNj-_iswgrl1XNhpfgGKwfrP_hEoZ2x)

example/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
node_modules/
2+
.next

example/.meteor/.finished-upgraders

Lines changed: 0 additions & 17 deletions
This file was deleted.

example/.meteor/.gitignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

example/.meteor/.id

Lines changed: 0 additions & 7 deletions
This file was deleted.

example/.meteor/packages

Lines changed: 0 additions & 21 deletions
This file was deleted.

example/.meteor/platforms

Lines changed: 0 additions & 2 deletions
This file was deleted.

example/.meteor/release

Lines changed: 0 additions & 1 deletion
This file was deleted.

example/.meteor/versions

Lines changed: 0 additions & 68 deletions
This file was deleted.

0 commit comments

Comments
 (0)