- Skopírujte si súbor install.sh do adresára s projektom (ideálne niekde do
~/net) - Spustite:
bash install.sh - Spustite:
. ~/.bashrcalebosource ~/.bashrc
- nainštalujte si nodejs
- vytvorte si adresár pre váš projekt
| { | |
| "name": "docker-webpack", | |
| "version": "1.0.0", | |
| "main": "app.jsx", | |
| "author": "Michal Hozza", | |
| "dependencies": { | |
| "react": "^16.13.1", | |
| "react-dom": "^16.13.1" | |
| }, | |
| "devDependencies": { |
| 'use strict'; | |
| var Dispatcher = { | |
| _callbacks: [], | |
| register: function(callback) { | |
| this._callbacks.push(callback); | |
| return this._callbacks.length - 1; | |
| }, | |
| dispatch: function(payload) { | |
| for (var i in this._callbacks) { |
| 'use strict'; | |
| var Dispatcher = { | |
| _callbacks: [], | |
| register: function(callback) { | |
| this._callbacks.push(callback); | |
| return this._callbacks.length - 1; | |
| }, | |
| dispatch: function(payload) { | |
| console.log("Dispatching", payload); |
~/net)bash install.sh. ~/.bashrc alebo source ~/.bashrc| <link rel="import" href="../core-drawer-panel/core-drawer-panel.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-header-panel/core-header-panel.html"> | |
| <link rel="import" href="../core-icons/core-icons.html"> | |
| <link rel="import" href="../core-icons/iconsets/av-icons.html"> | |
| <link rel="import" href="../paper-fab/paper-fab.html"> | |
| <polymer-element name="my-element"> |
| <link rel="import" href="../paper-button/paper-button.html"> | |
| <link rel="import" href="../core-icons/core-icons.html"> | |
| <link rel="import" href="../paper-item/paper-item.html"> | |
| <polymer-element name="apaloosa-viewer"> | |
| <template> | |
| <style> | |
| :host { | |
| box-sizing: border-box; |