You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 25, 2024. It is now read-only.
An app bootstrapped with `create-nteract-app` comes with:
34
+
35
+
-[@nteract](https://github.com/nteract) components for interactive computing apps/pages
36
+
- automatic webpack and babel configuration through [next.js](https://nextjs.org/)
37
+
- live hot reloading
38
+
-[mdx](https://mdxjs.com/)
39
+
- every .js or .md file in `./pages` becomes a route that gets automatically processed and rendered!
40
+
41
+
This means you can write your app in `js`, `markdown` or even both! :smile:
42
+
43
+
Your new nteract app will have the following strucure,
44
+
45
+
```bash
46
+
.
47
+
├── __tests__
48
+
│ └── index-spec.js
49
+
├── components
50
+
│ ├── code-state.js
51
+
│ └── presentation-cell.js
52
+
├── next.config.js
53
+
├── package.json
54
+
├── pages
55
+
│ ├── _document.js
56
+
│ └── index.js
57
+
├── scripts
58
+
│ └── test-setup.js
59
+
└── yarn.lock
60
+
```
61
+
62
+
## Commands :robot:
63
+
64
+
1.`yarn dev`
65
+
66
+
This will start the next.js server on port `3000` by default. Note, to change the port, run `yarn dev -p YOUR_PORT`
67
+
68
+
2.`yarn test`
69
+
70
+
This will kick off the [Jest](https://jestjs.io/) test suite. By default, we have included a snapshot test.
71
+
72
+
3.`yarn build`
73
+
74
+
This will produce an optimize set of code for production.
75
+
76
+
4.`yarn start`
77
+
78
+
This will run your optimized app on port 3000.
79
+
80
+
5.`yarn export`
81
+
82
+
This will export your code as a static HTML app.
83
+
84
+
## Contributing :tada:
85
+
86
+
Thanks for your interest in contributing! If you get stuck at any point, don't hesitate to reach out to the nteract team on slack or through the issue tracker.
87
+
88
+
To get started hacking on `create-nteract-app`, clone the repo and install dependencies.
0 commit comments