Skip to content

Instantly share code, notes, and snippets.

View promethyttrium's full-sized avatar

PmY promethyttrium

View GitHub Profile
let nodes = [{
name: "0a"
},
{
name: "0b"
},
{
name: "0c"
},
{
@promethyttrium
promethyttrium / 1. Instruction.md
Last active January 18, 2021 13:09
Create-React-App with Typescript with PUG
  1. npx create-react-app cra-typescript-pug --template typescript --use-npm
  2. npm install --save-dev react-app-rewired customize-cra
  3. npm install --save-dev babel-plugin-transform-jsx-classname-components babel-plugin-transform-react-jsx babel-plugin-transform-react-pug eslint-plugin-react-pug webpack-preprocessor-pug-tsx
  4. package.json:
  "scripts": {
    "start": "react-app-rewired start",
    "build": "react-app-rewired build",
    "test": "react-app-rewired test"
 },
@promethyttrium
promethyttrium / designer.html
Last active October 15, 2016 01:21
designer
<link rel="import" href="../core-scaffold/core-scaffold.html">
<link rel="import" href="../core-header-panel/core-header-panel.html">
<link rel="import" href="../core-menu/core-menu.html">
<link rel="import" href="../core-item/core-item.html">
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../core-menu/core-submenu.html">
<link rel="import" href="../paper-tabs/paper-tabs.html">
<link rel="import" href="../paper-tabs/paper-tab.html">
<link rel="import" href="../core-pages/core-pages.html">