mirror of
https://github.com/QingdaoU/OnlineJudgeFE.git
synced 2024-12-26 22:41:48 +00:00
A multiple pages app built for OnlineJudge
build | ||
config | ||
deploy | ||
src | ||
static/css | ||
.babelrc | ||
.editorconfig | ||
.eslintignore | ||
.eslintrc.js | ||
.gitignore | ||
.postcssrc.js | ||
.travis.yml | ||
LICENSE | ||
package.json | ||
README.md | ||
yarn.lock |
OnlineJudge Front End
A multiple pages app built for OnlineJudge. Demo
Features
- Webpack3 multiple pages with bundle size optimization
- Easy use simditor & Nice codemirror editor
- Amazing charting and visualization(echarts)
- User-friendly operation
- Quite beautiful:)
Get Started
Install nodejs v8.12.0 first.
Linux
npm install
# we use webpack DllReference to decrease the build time,
# this command only needs execute once unless you upgrade the package in build/webpack.dll.conf.js
export NODE_ENV=development
npm run build:dll
# the dev-server will set proxy table to your backend
export TARGET=http://Your-backend
# serve with hot reload at localhost:8080
npm run dev
Windows
npm install
# we use webpack DllReference to decrease the build time,
# this command only needs execute once unless you upgrade the package in build/webpack.dll.conf.js
set NODE_ENV=development
npm run build:dll
# the dev-server will set proxy table to your backend
set TARGET=http://Your-backend
# serve with hot reload at localhost:8080
npm run dev
Screenshots
Browser Support
Modern browsers and Internet Explorer 10+.