Skip to content

Instantly share code, notes, and snippets.

View huang-xiao-jian's full-sized avatar
🤓
On coding

黄小健 huang-xiao-jian

🤓
On coding
  • China
View GitHub Profile
@huang-xiao-jian
huang-xiao-jian / serve.config.js
Created September 25, 2018 03:32
webpack server configuration
/**
* @description - webpack server configurations
* @author - huang.jian <hjj491229492@hotmail.com>
*/
const convert = require('koa-connect');
const history = require('connect-history-api-fallback');
const proxy = require('http-proxy-middleware');
module.exports = {
@huang-xiao-jian
huang-xiao-jian / mini-vnode.json
Last active April 18, 2020 07:58
remax example
{
"type": "view",
"props": {
"classname": "app"
},
"children": [
{
"type": "view",
"props": {
"classname": "header"
@huang-xiao-jian
huang-xiao-jian / settings.json
Created June 17, 2020 01:49
vscode exclude compile JS files
{
"**/*.js: "$(basename).ts"
}
if (
(!oldHtml || newHtml.__html != oldHtml.__html) &&
newHtml.__html !== dom.innerHTML
) {
dom.innerHTML = (newHtml && newHtml.__html) || "";
}