nodejs環境遇到的問題及學習資料
阿新 • • 發佈:2018-11-16
安裝nvm
https://github.com/coreybutler/nvm-windows/releases 下載安裝 修改settings.txt root: D:\dev\nvm path: D:\dev\nodejs node mirror: http://npm.taobao.org/mirrors/node/ npm mirror: https://npm.taobao.org/mirrors/npm/ 通過nvm安裝對應版本的nodejs集(node、npm) 安裝:nvm install 6.10.0 檢視已經安裝的node列表:nvm list 使用:nvm use 6.10.0ReactDOM.render( <h1>Hello, world!</h1>, document.getElementById('root') );
</script> <!-- Note: this page is a great way to try React but it's not suitable for production. It slowly compiles JSX with Babel in the browser and uses a large development build of React.
To set up a production-ready React build environment, follow these instructions: * https://reactjs.org/docs/add-react-to-a-new-app.html * https://reactjs.org/docs/add-react-to-an-existing-app.html
You can also use React without JSX, in which case you can remove Babel: * https://reactjs.org/docs/react-without-jsx.html * https://reactjs.org/docs/cdn-links.html --> </body> </html>
rn學習資料 react官方首頁 https://facebook.github.io/react/ react中文 http://reactjs.cn/react/index.html React Gitbook 翻譯 https://hulufei.gitbooks.io/react-tutorial/content/introduction.html react中文導航 http://nav.react-china.org/ jsx首頁 https://facebook.github.io/jsx/ react教程 http://www.runoob.com/react/react-tutorial.html https://github.com/facebook/react/wiki/Sites-Using-React