Skip to content

Instantly share code, notes, and snippets.

View egoist's full-sized avatar
🙏
Please support my open-source projects!

EGOIST egoist

🙏
Please support my open-source projects!
View GitHub Profile
@egoist
egoist / vbuild-6-to-7.md
Last active April 16, 2017 14:53
Migrate vbuild 6 to 7

CLI

- vbuild --dev
+ vbuild dev

- vbuild --watch
+ vbuild watch
-1px 1px 0 #CFD1D3, -2px 2px 0 #CFD1D3, -3px 3px 0 #CFD1D3, -4px 4px 0 #CFD1D3, -5px 5px 0 #CFD1D3, -6px 6px 0 #CFD1D3, -7px 7px 0 #CFD1D3, -8px 8px 0 #CFD1D3, -9px 9px 0 #CFD1D3, -10px 10px 0 #CFD1D3, -11px 11px 0 #CFD1D3, -12px 12px 0 #CFD1D3, -13px 13px 0 #CFD1D3, -14px 14px 0 #CFD1D3, -15px 15px 0 #CFD1D3, -16px 16px 0 #CFD1D3, -17px 17px 0 #CFD1D3, -18px 18px 0 #CFD1D3, -19px 19px 0 #CFD1D3, -20px 20px 0 #CFD1D3, -21px 21px 0 #CFD1D3, -22px 22px 0 #CFD1D3, -23px 23px 0 #CFD1D3, -24px 24px 0 #CFD1D3, -25px 25px 0 #CFD1D3, -26px 26px 0 #CFD1D3, -27px 27px 0 #CFD1D3, -28px 28px 0 #CFD1D3, -29px 29px 0 #CFD1D3, -30px 30px 0 #CFD1D3, -31px 31px 0 #CFD1D3, -32px 32px 0 #CFD1D3, -33px 33px 0 #CFD1D3, -34px 34px 0 #CFD1D3, -35px 35px 0 #CFD1D3, -36px 36px 0 #CFD1D3, -37px 37px 0 #CFD1D3, -38px 38px 0 #CFD1D3, -39px 39px 0 #CFD1D3, -40px 40px 0 #CFD1D3, -41px 41px 0 #CFD1D3, -42px 42px 0 #CFD1D3, -43px 43px 0 #CFD1D3, -44px 44px 0 #CFD1D3, -45px 45px 0 #CFD1D3, -46px 46px 0 #CFD1D3, -47px 47px 0 #CFD1D3, -48px 48

[slide]

hello world

const a = 1
let a = 1
var a = 1
@egoist
egoist / config.js
Last active March 18, 2017 07:25
docute post
docute.init({
nav: [{
path: '/get-started',
markdown: '**click** <button @click="count++">{{count}}</button>',
component: {
data: () => ({count: 0})
}
}]
})
@egoist
egoist / list.md
Last active March 3, 2017 14:15
The software used by @egoist
{
"foo": "foo"
}
const Config = require('conpack')
const config = new Config()
module.exports = config
.entry('client')
.add('src/index.js')
.parent()
.entry('vendor')
.add(['vue', 'vuex'])

given:

{
  dist: /* @@dist */options.dist/* dist@@ */
}
replacer(input, {dist: 'dist'})
@egoist
egoist / vue-dom.js
Last active February 17, 2017 06:28
Unified way for bootstraping Vue.js app
import {render} from 'vue-dom'
const App = {
template: '<h1>hello world</h1>'
}
render(App, '#app')
// on the server
@egoist
egoist / vbuild.md
Created February 16, 2017 21:07
vbuild desktop notes

vbuild should be a dependency in the desktop app's app folder.