# personalPage **Repository Path**: evicril/learn-react ## Basic Information - **Project Name**: personalPage - **Description**: personal page based on react and semantic-ui, can be used to show photos goods and your article - **Primary Language**: JavaScript - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2016-12-14 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README #learn-react ##目录结构 ``` root │ .babelrc │ .editorconfig │ .eslintrc │ .gitignore │ .npminstall.done │ .yo-rc.json │ karma.conf.js │ LICENSE │ package.json │ README.md │ server.js │ webpack.config.js │ ├─cfg //karma-webpack 编译配置文件目录 │ base.js │ defaults.js │ dev.js │ dist.js │ test.js │ ├─coverage │ └─PhantomJS 2.1.1 (Windows 8 0.0.0) │ │ base.css │ │ index.html │ │ prettify.css │ │ prettify.js │ │ sort-arrow-sprite.png │ │ sorter.js │ │ │ ├─components │ │ index.html │ │ Main.js.html │ │ │ └─config │ base.js.html │ index.html │ test.js.html │ ├─dist //压缩好的文件放着里面 │ │ README.md │ │ │ └─static │ favicon.ico │ README.md │ ├─src //代码目录 │ │ favicon.ico │ │ index.html │ │ index.js │ │ │ ├─actions │ │ README.md │ │ │ ├─components │ │ Main.js │ │ │ ├─config │ │ base.js │ │ dev.js │ │ dist.js │ │ README.md │ │ test.js │ │ │ ├─images │ │ yeoman.png │ │ │ ├─sources │ │ README.md │ │ │ ├─stores │ │ README.md │ │ │ └─styles │ App.css │ └─test //单元测试目录 │ loadtests.js │ ├─actions │ .keep │ ├─components │ MainTest.js │ ├─config │ ConfigTest.js │ ├─helpers │ shallowRenderHelper.js │ ├─sources │ .keep │ └─stores .keep ``` ##安装 ``` npm install -g cnpm cnpm install ``` ##启动服务 ``` npm start npm run dist //将前段代码压缩到dist目录下的assets文件中