Mac下手动安装vue-devtool

下载好vue-devtools-dev 到本地。地址:https://github.com/vuejs/vue-devtools#vue-devtools 

1. loginuser  -MacBook-Pro:vue-devtools-dev loginuser$ npm install
npm WARN deprecated [email protected]: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated [email protected]: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated [email protected]: This module has moved and is now available at @hapi/topo. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues.
npm WARN deprecated [email protected]: This module has moved and is now available at @hapi/hoek. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues.

> [email protected] install /Users/loginuser/Downloads/vue-devtools-dev/node_modules/fsevents
> node install

node-pre-gyp WARN Using request for node-pre-gyp https download
[fsevents] Success: "/Users/loginuser/Downloads/vue-devtools-dev/node_modules/fsevents/lib/binding/Release/node-v57-darwin-x64/fse.node" is installed via remote

> [email protected] postinstall /Users/loginuser/Downloads/vue-devtools-dev/node_modules/core-js
> node scripts/postinstall || echo "ignore"

Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:
> https://opencollective.com/core-js
> https://www.patreon.com/zloirock 

Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)

> [email protected] postinstall /Users/loginuser/Downloads/vue-devtools-dev/node_modules/cypress
> node index.js --exec install

Installing Cypress (version: 3.3.2)

 ?  Downloaded Cypress
 ?  Unzipped Cypress
 ?  Finished Installation /Users/loginuser/Library/Caches/Cypress/3.3.2

You can now open Cypress by running: node_modules/.bin/cypress open

https://on.cypress.io/installing-cypress

npm notice created a lockfile as package-lock.json. You should commit this file.
added 1096 packages from 559 contributors and audited 10343 packages in 565.67s
found 0 vulnerabilities

2. loginuser  -MacBook-Pro:vue-devtools-dev loginuser$ npm run build

> [email protected] build /Users/loginuser/Downloads/vue-devtools-dev
> cd shells/chrome && cross-env NODE_ENV=production webpack --progress --hide-modules

 98% after emitting SizeLimitsPlugin                         

 DONE  Compiled successfully in 10240ms                                 17:46:29

Hash: 4c12e277c5b95b9fabdc
Version: webpack 4.35.0
Time: 10240ms
Built at: 2019-06-30 17:46:29
                 Asset      Size  Chunks                    Chunk Names
            backend.js   396 KiB       0  [emitted]  [big]  backend
         background.js  2.59 KiB       1  [emitted]         background
           detector.js  4.31 KiB       2  [emitted]         detector
devtools-background.js  2.22 KiB       4  [emitted]         devtools-background
           devtools.js  1.09 MiB       3  [emitted]  [big]  devtools
               hook.js  28.3 KiB       5  [emitted]         hook
              proxy.js   1.3 KiB       6  [emitted]         proxy
Entrypoint hook = hook.js
Entrypoint devtools [big] = devtools.js
Entrypoint background = background.js
Entrypoint devtools-background = devtools-background.js
Entrypoint backend [big] = backend.js
Entrypoint proxy = proxy.js
Entrypoint detector = detector.js
loginuser  -MacBook-Pro:vue-devtools-dev loginuser$ 

3. 放置编译配置好的vue-devtools-dev文件夹——推荐将文件夹放到浏览器插件文件夹中,Mac中chrome插件默认安装目录位置为:
~/Library/Application Support/Google/Chrome/Default/Extensions

可以通过地址栏输入chrome:version 回车,用资源管理器打开"个人资料路径"栏的路径,该路径下的Extensions文件夹即默认的扩展安装路径。

4.进入到vue-devtools-dev/shells/chrome文件夹,会看到manifest.json文件,修改persistent为true。

5.打开谷歌浏览器的设置—>扩展程序,并勾选开发者模式。(这一步很重要)

6.然后将刚刚编译后的工程中的shells目录下,chrome的整个文件夹直接拖拽到当前浏览器中,并选择启用,即可将插件安装到浏览器。

原文地址:https://www.cnblogs.com/albertfg/p/11110661.html

时间: 2024-10-09 19:15:26

Mac下手动安装vue-devtool的相关文章

Mac下手动安装python3.8的问题

首先,去官网下载安装包.直接运行安装.安装完成后,启动器中会多两个应用程序IDLE和Python Launcher. 如果,你习惯在IDLE,直接运行即可. 但你在Terminal中运行python3的话,也可以运行.但mac把python3.8安装到了一个非常难找的位置:/Library/Frameworks/Python.framework/Versions/3.8/bin. 你用下面的命令就可以找到:which python3 原文地址:https://www.cnblogs.com/xi

Mac下删除安装的pkg

Mac下的安装和删除都比windows更加简单清晰,这点在dmg方式下非常明显,但很多时候我们会使用pkg来进行安装,这样的安装想删除就有点麻烦了. 比如,我安装了Golang这个pkg用于go语言的编译,安装后确实可以使用,但安装的是一个工具链,并不是一个应用软件.所以在Application目录下是没有内容的,你可以查到安装在/usr/local/go这个目录下,但是否所有的内容都安装在这个目录下呢?我删除这个pkg的目的是为了用源码直接编译出工具链来应用,如果还有其他一些配置文件遗漏,可能

windows下手动安装和配置xamarin

安装xamarin xamarin官方给出了两种安装方式,自动安装和手动安装. 自动安装比较简单,到http://xamarin.com/download下载xamarininstaller.exe 运行后它会自动下载所需组件.过程还是比较简单的,下面重点说明一下手动安装和配置xamarin. 由于我的系统(win8.1 64位)在运行xamarininstaller.exe时老是报错,给xamarin的支持组发了个邮件,他们回复说还是手动安装吧,并把各个组件的下载链接发了过来.这段时间在网上查

Mac下webpack安装

最近开始接触构建工具webpack,公司电脑是 windows,而我自己的呢是mac.本来以为在自己电脑安装很简单,但是出了点问题,所以写出来分享下. 这里用npm的方式安装,首先你要安装node.js,这里献上地址   https://nodejs.org/en/download/ node.js 的安装我就不多说了,很简单和普通软件安装没什么区别. node.js 安装好后,就等于你安装好了node 和npm ,下面我们打开终端执行命令查看下: node -v[查看node版本].npm -

ubuntu14.04下手动安装eclipse

ubuntu14.04下手动安装eclipse 第一步: 安装jdk 第二步: 下载eclipse,假设下载的文件文件名为eclipse.tar.gz 第三步: 解压 sudo -zxvf ./eclipse.tar.gz 会的到文件夹eclipse 第四步: 移动文件 sudo mv ./eclipse /usr/lib 第五步: 创建启动快捷方式 $ sudo gedit /usr/share/applications/eclipse.desktop 添加如下内容: [Desktop Ent

ubuntu14.04 下手动安装java jdk

ubuntu14.04 下手动安装java jdk 第一步: 下载jdk.tar.gz (这里假设下载的文件名为jdk.tar.gz) 第二步: 解压 sudo tar -zxvf ./jdk.tar.gz 这里会在当前目录下会的到一个新的被解压出来的文件夹(jdk-8×××),这里假设为该文件夹名为jdk 第三步: 移动解压出的文件夹 sudo mkdir /usr/lib/jvm 新建文件夹jvm sudo mv ./jdk /usr/lib/jvm/java 第四步: 修改环境变量 sud

Ubuntu 14.04 下手动安装Firefox的Flash插件

有时候我们需要在Ubuntu下采用手动安装一些软件,比如Firefox的Flash插件.Adobe® Flash® Player 是一款轻量级浏览器插件,具有丰富的 Internet 应用运行时间,提供持续的迷人用户体验.绝妙的音频/视频回放效果和刺激的游戏. Flash Player 已在超过 13 亿系统中安装,是提供高度集成且丰富的 Web 内容的标准应用. 相关阅读: Ubuntu 14.04 下载.安装.配置 整理汇总 页面 http://www.linuxidc.com/Linux/

Ubuntu下手动安装Nvidia显卡驱动

1. 下载最新版的nVidia驱动. http://www.nvidia.com/page/drivers.html 2.编辑blacklist.conf. sudo gedit /etc/modprobe.d/blacklist.conf 添加以下部分并保存: blacklist vga16fb blacklist nouveau blacklist rivafb blacklist nvidiafb blacklist rivatv (这里有一行空格) 3. 删除之前所安装的nVidia驱动

Mac下新安装的MySQL无法登陆root用户解决方法

一 设置MySQL命令行搜索路径 0.苹果->系统偏好设置->最下边点mysql 在弹出页面中 启动mysql服务 1.打开终端,输入: sudo vi ~/.bash_profile 如果已存在删除:  sudo rm -rf .bash_* 2.输入 i 3.然后粘贴以下内容 # mysql alias mysql='/usr/local/mysql/bin/mysql' alias mysqladmin='/usr/local/mysql/bin/mysqladmin' # ls ali