Create Project

1
create-react-app neuron-web scripts-version=react-scripts-ts

Add Manifest

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// ./public/manifest.json

{
"short_name": "NeuronWeb",
"name": "Neuron Web",
"start_url": "./index.html",
"display": "standalone",
"theme_color": "#000",
"background_color": "#fff",
"browser_action": {
"default_popup": "./index.html",
"default_title": "NervosWeb"
},
"manifest_version": 2,
"version": "1.0",
"permissions": [
"tabs",
"activeTab",
"clipboardWrite",
"http://**/*",
"https://**/*"
],
"content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'self'"
}

Add Style Dependencies

1
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500">
1
yarn add @mateiral-ui/{core,icons}