mirror of
https://github.com/frappe/books.git
synced 2024-12-23 03:19:01 +00:00
yarn link in docs
This commit is contained in:
parent
ebb2618d30
commit
d8e749cecf
21
docs/app.md
21
docs/app.md
@ -42,10 +42,31 @@ Sample index.html
|
||||
<link href="/dist/css/style.css" rel="stylesheet">
|
||||
</head>
|
||||
<body>
|
||||
<script src="/dist/js/socket.io.js"></script>
|
||||
<script src="js/bundle.js"></script>
|
||||
</body>
|
||||
</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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user