This file contains 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
>npm list --depth=0 | |
vpn-extension@0.1.0 C:\dev\extension-vpn | |
+-- @babel/core@7.0.0 | |
+-- @babel/plugin-external-helpers@7.0.0 | |
+-- @babel/plugin-proposal-class-properties@7.0.0 | |
+-- @babel/plugin-proposal-object-rest-spread@7.0.0 | |
+-- @babel/polyfill@7.0.0 | |
+-- @babel/preset-env@7.0.0 | |
+-- @babel/preset-typescript@7.0.0 | |
+-- @babel/runtime@7.0.0 |
This file contains 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
>npm list -g --depth=0 | |
C:\Users\user\AppData\Roaming\npm | |
+-- @vue/cli@3.0.1 | |
+-- @vue/devtools@4.1.5 | |
+-- browserify@16.2.2 | |
+-- jasmine@3.1.0 | |
+-- karma-cli@1.0.1 | |
+-- node-red@0.18.4 | |
`-- npm@6.4.1 |
This file contains 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
Show hidden characters
{ | |
"presets": ["es2015", "react"], | |
"plugins": [] | |
} |
This file contains 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
npm install babel-preset-es2015 --save-dev | |
npm install babel-preset-react --save-dev |
This file contains 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
{ | |
... | |
"scripts": { | |
"build": "babel ./src -d ./lib -w" | |
} | |
... | |
} |
This file contains 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
>npm list -g | |
C:\Users\user\AppData\Roaming\npm | |
+-- @vue/cli@3.0.1 | |
| +-- @vue/cli-shared-utils@3.0.1 | |
| | +-- chalk@2.4.1 deduped | |
| | +-- execa@0.10.0 deduped | |
| | +-- joi@13.6.0 | |
| | | +-- hoek@5.0.4 | |
| | | +-- isemail@3.1.3 | |
| | | | `-- punycode@2.1.1 |
This file contains 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
npm ERR! path C:\path\to\project\package.json | |
npm ERR! code ENOENT | |
npm ERR! errno -4058 | |
npm ERR! syscall open | |
npm ERR! enoent ENOENT: no such file or directory, open 'C:\path\to\project\package.json' | |
npm ERR! enoent This is related to npm not being able to find a file. | |
npm ERR! enoent | |
npm ERR! A complete log of this run can be found in: | |
npm ERR! C:\Users\user_name\AppData\Roaming\npm-cache\_logs\2018-09-10T10_08_34_469Z-debug.log |
This file contains 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
>npm install -g @vue/devtools | |
C:\Users\komazec\AppData\Roaming\npm\vue-devtools -> C:\Users\komazec\AppData\Roaming\npm\node_modules\@vue\devtools\bin.js | |
> electron@1.7.11 postinstall C:\Users\komazec\AppData\Roaming\npm\node_modules\@vue\devtools\node_modules\electron | |
> node install.js | |
+ @vue/devtools@4.1.5 | |
added 242 packages from 169 contributors in 240.393s |
This file contains 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 Vue from "vue"; | |
import App from "./App.vue"; | |
Vue.config.productionTip = false; | |
new Vue({ | |
render: h => h(App) | |
}).$mount("#app"); |
This file contains 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
<html lang="en"> | |
... | |
<body> | |
... | |
<div id="app"></div> | |
<!-- built files will be auto injected --> | |
</body> | |
</html> |
NewerOlder