-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstallations.txt
More file actions
43 lines (31 loc) · 775 Bytes
/
Copy pathinstallations.txt
File metadata and controls
43 lines (31 loc) · 775 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
quick demo of react/typescript project
similar to codepen or a code playground
published to npm, npx jsnote-gdc@2.0.0 serve
- be sure to copy the folders that include node_modules for development
lerna bootstrap
code render example:
document.querySelector('#root').innerHTML = 'asdf';
import React from 'react';
import ReactDOM from 'react-dom';
const Container = () => {
return <h1>Hi there</h1>;
};
show(<Container />); // Add the <> around App
all installations:
could do this for missing node modules:
lerna add <package>[@version] [--dev] [--exact] [--peer]
lerna add module-1 --scope=module-2
--legacy-peer-deps
- react
- react-dom
- react-scripts
- redux
- axios
- prettier
- babel
- monaco
- typescript
- bulmaswatch
- esbuild-wasm
- immer
- localforage