Code Monkey home page Code Monkey logo

vuejs-chrome-extension's Introduction

vue3-chrome-ext-template

Vue3 Chrome Extension Template Vue3 谷歌插件开发模板

参考文章链接

Let's go

// 纯净模板
npx degit cinob/vue3-chrome-ext-template your-program
// or 克隆代码
git clone https://github.com/cinob/vue3-chrome-ext-template.git

进入项目目录,安装依赖包

// npm
npm install
// yarn
yarn

启动项目

// npm
npm run serve
// yarn
yarn serve

目录结构

├─pages
  ├─background  // 常驻后台的插件脚本
  ├─content     // 注入页面的脚本 (可以获取页面dom...)
  ├─options     // 插件的配置页
  └─popup       // 点击右上角插件图标展示的页面
├─manifest.json // 谷歌插件配置文件

运行到谷歌浏览器

  • 点击谷歌浏览器右上角三个点 -> 更多工具 -> 扩展程序 -> 打开右上角开发者模式 -> 加载已解压的扩展程序 -> 选择我们项目目录下dist文件夹 -> 启用插件并更新插件列表

  • 此时浏览器右上角插件列表已经成功加载出我们名为chrome-ext的插件

vuejs-chrome-extension's People

Contributors

snipey101 avatar

Stargazers

Chao Zhang 张超 avatar

Watchers

 avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.