mirror of
https://github.com/frappe/books.git
synced 2024-11-10 07:40:55 +00:00
commit
dc6eab2d61
21
docs/app.md
21
docs/app.md
@ -42,10 +42,31 @@ Sample index.html
|
|||||||
<link href="/dist/css/style.css" rel="stylesheet">
|
<link href="/dist/css/style.css" rel="stylesheet">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
<script src="/dist/js/socket.io.js"></script>
|
||||||
<script src="js/bundle.js"></script>
|
<script src="js/bundle.js"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
```
|
```
|
||||||
|
## For development setup
|
||||||
|
|
||||||
|
Clone frappejs in the same folder as your app, since you will be developing frappejs on the side.
|
||||||
|
|
||||||
|
### Link frappejs
|
||||||
|
|
||||||
|
```sh
|
||||||
|
# make frappejs linkable
|
||||||
|
cd frappejs
|
||||||
|
|
||||||
|
yarn link
|
||||||
|
yarn link frappejs
|
||||||
|
|
||||||
|
# link frappejs in all
|
||||||
|
cd ../myapp
|
||||||
|
yarn link frappejs
|
||||||
|
|
||||||
|
# install libs
|
||||||
|
yarn
|
||||||
|
```
|
||||||
|
|
||||||
### server.js
|
### server.js
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user