Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xiaofan2406/xiaofan2406.github.io-fix-later
https://xiaofan2406.github.io
https://github.com/xiaofan2406/xiaofan2406.github.io-fix-later
Last synced: about 2 months ago
JSON representation
https://xiaofan2406.github.io
- Host: GitHub
- URL: https://github.com/xiaofan2406/xiaofan2406.github.io-fix-later
- Owner: xiaofan2406
- Created: 2016-10-18T03:01:10.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2021-11-28T05:53:40.000Z (about 3 years ago)
- Last Synced: 2024-04-12T07:02:40.752Z (10 months ago)
- Language: JavaScript
- Homepage:
- Size: 5.34 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# My Portfolio
[![Build Status](https://travis-ci.org/xiaofan2406/xiaofan2406.github.io.svg?branch=master)](https://travis-ci.org/xiaofan2406/xiaofan2406.github.io) [![dependencies Status](https://david-dm.org/xiaofan2406/xiaofan2406.github.io/status.svg)](https://david-dm.org/xiaofan2406/xiaofan2406.github.io) [![devDependencies Status](https://david-dm.org/xiaofan2406/xiaofan2406.github.io/dev-status.svg)](https://david-dm.org/xiaofan2406/xiaofan2406.github.io?type=dev)### Scripts
- Install dependencies
```
npm i
```- Run dev server
```
npm run dev
```- Push built files to github.io
```
npm run live
```### Routing
- Because of using GitHub pages, has no control over server side routing. As a result, using hash to route.
- All sections live in `/` route, for easy migration on other hosts### Details
- ##### CSS
using [`ExtractTextPlugin`](https://github.com/webpack/extract-text-webpack-plugin) to combine all css files into one- ##### CSS Modules
NOT enabled- ##### PostCSS
using [`cssnext`](http://cssnext.io/) and [`postcss-import`](https://github.com/postcss/postcss-import)- ##### Hot Module Replacement
using [`react-hot-loader`](https://github.com/gaearon/react-hot-loader/tree/next)- ##### Test production build
```
npm i -g pushstate-server
pushstate-server ./build 9000
```