Skip to content

Instantly share code, notes, and snippets.

View wangjing013's full-sized avatar
🏠
Working from home

wangjing wangjing013

🏠
Working from home
View GitHub Profile
@wangjing013
wangjing013 / default.conf
Created June 21, 2018 13:47
NGiNX Configuration for Vue-Router in HTML5 Mode
server {
listen 80 default_server;
listen [::]:80 default_server;
root /your/root/path;
index index.html;
server_name you.server.com;
@wangjing013
wangjing013 / default.conf
Created June 21, 2018 13:47
NGiNX Configuration for Vue-Router in HTML5 Mode
server {
listen 80 default_server;
listen [::]:80 default_server;
root /your/root/path;
index index.html;
server_name you.server.com;
@wangjing013
wangjing013 / jest.config.js
Created December 29, 2020 10:02 — forked from ezidio/jest.config.js
Jest transformer to work with webpack's require.context
module.exports = {
verbose: true,
moduleDirectories: ['node_modules'],
transform: {
'\\.js$': '<rootDir>/../build/utils/webpack_polyfill'
}
}
@wangjing013
wangjing013 / jest.config.js
Created December 29, 2020 10:02 — forked from ezidio/jest.config.js
Jest transformer to work with webpack's require.context
module.exports = {
verbose: true,
moduleDirectories: ['node_modules'],
transform: {
'\\.js$': '<rootDir>/../build/utils/webpack_polyfill'
}
}
@wangjing013
wangjing013 / review-checklist.md
Created November 15, 2021 06:32 — forked from bigsergey/review-checklist.md
Front-end Code Review Checklist

Review checklist

General

  1. Does the code work?
  2. Description of the project status is included.
  3. Code is easily understand.
  4. Code is written following the coding standarts/guidelines (React in our case).
  5. Code is in sync with existing code patterns/technologies.
  6. DRY. Is the same code duplicated more than twice?