diff --git a/docs/build.md b/docs/build.md index 8537c2d6..5ed7c03f 100644 --- a/docs/build.md +++ b/docs/build.md @@ -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. diff --git a/oh-my-cdn.json b/oh-my-cdn.json index d149896b..ddf602c5 100644 --- a/oh-my-cdn.json +++ b/oh-my-cdn.json @@ -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" }