GithubHelp home page GithubHelp logo

chrome-extension-starter's Introduction

Chrome-Extension-Starter

基于 Vite + Vue3 开发谷歌插件的启动项目。

安装

npm install

运行

npm run watch

打包

npm run build

添加扩展程序

进入谷歌浏览器 chrome://extensions/ 页面,选择“加载已解压的扩展程序”,选择该项目下 dist 目录。

新页面开发

可以在该项目 src/views 下统一管理页面,新增页面时,只需要在该目录下创建新文件即可。目录结构:

|- news
|-- main.html
|-- main.ts
|-- main.vue

打包工具会自动读取 "./src/views/**/main.ts" 下所有文件,并将该层目录的 main.html 作为输出的入口 HTML 文件。

chrome-extension-starter's People

Contributors

waaatanuki avatar

Stargazers

RokyZevon avatar

Watchers

 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.