This file contains hidden or 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 | |
[email protected] C:\dev\extension-vpn | |
+-- @babel/[email protected] | |
+-- @babel/[email protected] | |
+-- @babel/[email protected] | |
+-- @babel/[email protected] | |
+-- @babel/[email protected] | |
+-- @babel/[email protected] | |
+-- @babel/[email protected] | |
+-- @babel/[email protected] |
This file contains hidden or 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/[email protected] | |
+-- @vue/[email protected] | |
+-- [email protected] | |
+-- [email protected] | |
+-- [email protected] | |
+-- [email protected] | |
`-- [email protected] |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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/[email protected] | |
| +-- @vue/[email protected] | |
| | +-- [email protected] deduped | |
| | +-- [email protected] deduped | |
| | +-- [email protected] | |
| | | +-- [email protected] | |
| | | +-- [email protected] | |
| | | | `-- [email protected] |
This file contains hidden or 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 hidden or 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 | |
> [email protected] postinstall C:\Users\komazec\AppData\Roaming\npm\node_modules\@vue\devtools\node_modules\electron | |
> node install.js | |
+ @vue/[email protected] | |
added 242 packages from 169 contributors in 240.393s |
This file contains hidden or 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 hidden or 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