Start live-server:
$ live-server --ignore=todos.json .
Start json-server:
$ json-server -p 8081 todos.json
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Dialogs</title> | |
<script src="https://unpkg.com/vue"></script> | |
</head> | |
<body> | |
<div id="app"> |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Editor component</title> | |
<script src="https://unpkg.com/vue"></script> | |
</head> | |
<body> | |
<div id="app"> |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Dynamic table</title> | |
<script src="https://unpkg.com/vue"></script> | |
<style> | |
td.name { | |
font-weight: bold; |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Editor component</title> | |
<script src="https://unpkg.com/vue"></script> | |
</head> | |
<body> | |
<div id="app"> |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Application layout</title> | |
<script src="https://unpkg.com/vue"></script> | |
<style> | |
html, body { | |
margin: 0; |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Dynamic table</title> | |
<script src="https://unpkg.com/vue"></script> | |
<style> | |
td.name { | |
font-weight: bold; |
Start live-server:
$ live-server --ignore=todos.json .
Start json-server:
$ json-server -p 8081 todos.json
#!/usr/bin/env node | |
class GCodeGenerator { | |
constructor(modes, offsetX, offsetY) { | |
this.modes = modes | |
this.offsetX = offsetX | |
this.offsetY = offsetY | |
this.currentX = -1 | |
this.currentY = -1 | |
this.currentSpeed = 0 |
/* | |
Details Element Polyfill 1.1.0 | |
Copyright © 2017 Javan Makhmali | |
*/ | |
(function() {}).call(this), | |
function() { | |
if (document.querySelector('body').getAttribute('class').indexOf('on-page-editor') > -1) { | |
return; | |
} |