- BUILDING A 2D AND 3D GAME FROM SCRATCH
Build a game like Pong or even one in 3D similar to Doom. You'll build your own game engine from scratch. - BUILDING A DATABASE ENGINE
Learn about the data structure behind every database engine. Building your own index mechanism for run queries faster. - BUILDING A VIRTUAL MACHINE
Learn how a CPU, a GameBoy emulator or your programming language work inside by building a virtual machine. - BUILDING A BACKEND AND FRONTEND WEB FRAMEWORK
Make a backend framework similar to Express or frontend one like Backbone. Or go wild and create something totally new. - BUILDING A NEURAL NETWORK
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Create a module for vue component. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Using rollup-plugin-vue |
Feature | vue-loader | vueify | rollup-plugin-vue |
---|---|---|---|
Support for Vue 1.x | Version 8.x | Version 8.x | Version 2.x |
Support for Vue 2.0 | Version 9.0+ | Version 9.0+ | Version 2.x |
ES2015 | With buble-loader or babel-loader |
Preconfigured to use babel |
With rollup-plugin-buble or rollup-plugin-babel |
Scoped CSS | ✓ | ✓ | - |
CSS Modules | ✓ | ✓ | - |
PostCSS | ✓ | ✓ | - |
Hot Reload | ✓ | ✓ |
I hereby claim:
- I am znck on github.
- I am znck (https://keybase.io/znck) on keybase.
- I have a public key whose fingerprint is 4960 41D2 4381 8206 D62C C2DF 21AF 5D4A 08BA 995B
To claim this, I am signing this object:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ----- Extracting Chunks ----- | |
exports.entry['vendor/vue'] = ['vue', 'vuex', 'vue-resource', 'vue-router'] | |
exports.entry['vendor/bootstrap'] = ['jquery', 'bootstrap', 'tether'] | |
exports.entry['vendor/components'] = ['bootstrap-for-vue'] | |
exports.entry['vendor/plugins'] = ['moment', 'sifter'] | |
exports.entry['vendor/echo'] = ['pusher-js', 'laravel-echo', 'echo-for-vue'] | |
exports.plugins.push( | |
new webpack.optimize.CommonsChunkPlugin({ | |
name: 'manifest' | |
}), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function aliasthat { | |
if [ -n ${1} ]; then | |
fc -e "sed -i -e \"s/^.*/echo alias $1=\\\"'\\\"\'&\'\\\"'\\\" >> ~\/.bash_alias/\"" | |
. ~/.bash_alias | |
fi | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
<style id="jsbin-css"> | |
.group { | |
display: block; | |
margin: 0 15px 15px; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<h2 class="red">{{msg}}</h2> | |
</template> | |
<script> | |
export default { | |
data () { | |
return { | |
msg: 'Hello from Component A!' | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { mount } from 'vue-test-utils' | |
import { createRenderer } from 'vue-server-renderer' | |
import MyComponent from './MyComponent.vue' | |
const renderer = createRenderer() | |
renderer.renderToString( | |
mount(MyComponent).vm, | |
(error, html) => { |