To execute this gist with npx:
npx https://gist.github.com/simplesmiler/d5b5f4deeefe763eb322b415e47b91a5
See article.
// @SECTION: redux | |
var redux = require('redux'); | |
function reducer(state, action) { | |
return { counter: 1 }; | |
} | |
var env = require('broccoli-env').getEnv(); | |
var path = require('path'); | |
var browserify = require('broccoli-browserify-cache'); | |
var babelify = require('babelify'); | |
var babelifyOptions = { | |
nonStandard: false, | |
sourceMap: 'inline', | |
sourceMapRelative: __dirname, |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<!-- @NOTE: when it looks like iOS caches the pages, change the bust value and see if you are getting a fresh page --> | |
<meta charset="UTF-8"> | |
<title>VueClickaway test</title> | |
<script src="https://unpkg.com/vue@2.5.16?bust=1"></script> | |
<script src="https://unpkg.com/vue-clickaway@2.2.1/dist/vue-clickaway.min.js?bust=1"></script> | |
</head> | |
<body> |
To execute this gist with npx:
npx https://gist.github.com/simplesmiler/d5b5f4deeefe763eb322b415e47b91a5
See article.