GithubHelp home page GithubHelp logo

cloudsvc / edge-ext Goto Github PK

View Code? Open in Web Editor NEW

This project forked from appjson/edge-ext

0.0 0.0 0.0 2.9 MB

Edge 浏览器插件开发学习项目

License: GNU General Public License v3.0

JavaScript 97.62% HTML 0.61% Vue 0.95% Python 0.59% Batchfile 0.08% Less 0.15%

edge-ext's Introduction

edge-ext

Edge 浏览器插件开发学习项目

popup.html 基于 Vue3.js

注入的元素基于 React.js

安装

需要提前安装nodejsyarn

npm i -g yarn

git clone https://github.com/appjson/edge-ext.git

cd edge-ext

yarn install

cd page-plugin

yarn install

构建

默认使用 production 模式。因为 chrome 不允许 eval,但是 webpack 的 development 模式会采用 eval

cd page-plugin

yarn build

在 page-plugin/build/static/css 与 page-plugin/build/static/js 中找到生成的 css 和 js 文件。

拷贝到 src/assets 下,并改名为 content.cssreact.js

yarn build --mode production

dist目录即为生成后可导入 edge 的插件目录

使用的开源项目

edge-ext's People

Contributors

appjson avatar cloudsvc avatar saicaca avatar steven-nagisa-y 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.