mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-14 02:06:29 +00:00
Merge pull request #129 from kg86/fix_and_improve_docs
Fix and improve docs
This commit is contained in:
@@ -3,10 +3,18 @@
|
|||||||
## Development
|
## Development
|
||||||
|
|
||||||
We use Webpack HMR to develop Boostnote.
|
We use Webpack HMR to develop Boostnote.
|
||||||
You can use this command to use our configuration
|
You can use following commands to use default configuration at the top of project directory.
|
||||||
|
|
||||||
|
Install requirement packages.
|
||||||
|
|
||||||
```
|
```
|
||||||
npm run webpack
|
$ npm install
|
||||||
|
```
|
||||||
|
|
||||||
|
Build codes.
|
||||||
|
|
||||||
|
```
|
||||||
|
$ npm run webpack
|
||||||
```
|
```
|
||||||
|
|
||||||
After a few seconds, you will see this message.
|
After a few seconds, you will see this message.
|
||||||
@@ -17,9 +25,9 @@ webpack: bundle is now VALID.
|
|||||||
|
|
||||||
Then, we have to run the app.
|
Then, we have to run the app.
|
||||||
```
|
```
|
||||||
npm run hot
|
$ npm run hot
|
||||||
```
|
```
|
||||||
> Actually the app can be start with `npm start@. However, the app will use the compiled script.
|
> Actually the app can be start with `npm start`. However, the app will use the compiled script.
|
||||||
|
|
||||||
By this, webpack will watch the code changes and apply it automatically.
|
By this, webpack will watch the code changes and apply it automatically.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user