# hello-mobx **Repository Path**: hfpp2012/hello-mobx ## Basic Information - **Project Name**: hello-mobx - **Description**: mobx的demo - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2017-05-27 - **Last Updated**: 2022-07-11 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README https://scotch.io/tutorials/setup-a-react-environment-using-webpack-and-babel ``` bash yarn config set registry 'https://registry.npm.taobao.org' yarn add webpack webpack-dev-server path yarn add babel-loader babel-preset-stage-0 babel-core babel-preset-es2015 babel-preset-react --dev yarn add html-webpack-plugin yarn add react react-dom yarn add --dev sass-loader node-sass # 产品编译及压缩 # https://webpack.js.org/guides/production-build/ webpack -p # 线上环境产生文件名带md5的文件 # https://webpack.js.org/guides/caching/ output: { path: path.resolve('dist'), filename: '[name].[chunkhash]_bundle.js' } # https://github.com/baldore/open-browser-webpack-plugin 打开浏览器 ```