mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 17:56:25 +00:00
Merge branch 'master'
Conflicts: oh-my-cdn.json
This commit is contained in:
@@ -3,10 +3,18 @@
|
||||
## Development
|
||||
|
||||
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.
|
||||
@@ -17,9 +25,9 @@ webpack: bundle is now VALID.
|
||||
|
||||
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.
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
"react": "https://cdnjs.cloudflare.com/ajax/libs/react/15.0.2/react.js",
|
||||
"react-dom": "https://cdnjs.cloudflare.com/ajax/libs/react/15.0.2/react-dom.js",
|
||||
"redux": "https://cdnjs.cloudflare.com/ajax/libs/redux/3.5.2/redux.js",
|
||||
"react-redux": "https://npmcdn.com/react-redux@4.4.5/dist/react-redux.min.js",
|
||||
"react-redux": "https://unpkg.com/react-redux@4.4.5/dist/react-redux.min.js"
|
||||
"katex": "https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.6.0/katex.min.js",
|
||||
"katex-style": "https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.6.0/katex.min.css"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user