百科.dev
全部条目AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
C

create-chrome-ext

> 前端框架
开源

构建 Chrome 扩展!模板: react \ vue \ svelte \ solid \ preact \ alpine \ lit \ stencil \ inferno \ vanilla

2.1K stars0 点赞0 次浏览
访问官网GitHub

工具介绍

构建 Chrome 扩展!模板: react \ vue \ svelte \ solid \ preact \ alpine \ lit \ stencil \ inferno \ vanilla

Create Chrome Extension (.crx)

Scaffolding your chrome extension, multiple boilerplates supported!

  • Lightning Fast HMR(use Vite@latest)
  • Multiple Framework Supported (React · Vue · Svelte · Preact · Solid · Alpine · Lit · Inferno · Stencil · Vanilla)
  • Multiple Language Supported (JavaScript · TypeScript)
  • Out of Box (Background \ Content \ Popup \ Options \ SidePanel \ DevTools \ NewTab)
  • Optimized Builds

English · 简体中文 · French · 한국어 · Indonesian · Русский · Deutsch · 日本語 (by ChatGPT)

Installing

Node >= 14.18.0

# use npm-create command, or use pnpm | yarn
λ npm create chrome-ext

# or use npx command
λ npx create-chrome-ext

# or use npm-init command
λ npm init chrome-ext

Usage

You can also directly specify the project name and the template you want to use via additional command line options. For example, to scaffold a Vite + Svelte project, run:

# npm 6.x
λ npm create chrome-ext@latest my-crx-app --template svelte-js

# or npm 7+, extra double-dash is needed:
λ npm create chrome-ext@latest my-crx-app -- --template react-ts

# or yarn
λ yarn create chrome-ext my-crx-app --template vue-ts

# or pnpm
λ pnpm create chrome-ext my-crx-app --template vanilla-ts

You can also generator the project with crx cli, run:

λ npm install create-chrome-ext --global

# and then
λ crx my-crx-app
# or
λ crx my-crx-app --template preact-js
# or use create-chrome-exe (global env)
λ create-chrome-ext my-crx-app

Preview

GitHub Issues· 0 开放

在 GitHub 查看全部

暂无开放 Issues,或尚未同步最近议题。

核心特点

  • •Lightning Fast HMR(use Vite@latest)
  • •Multiple Framework Supported (React · Vue · Svelte · Preact · Solid · Alpine · Lit · Inferno · Stencil · Vanilla)
  • •Multiple Language Supported (JavaScript · TypeScript)
  • •Out of Box (Background \ Content \ Popup \ Options \ SidePanel \ DevTools \ NewTab)
  • •Optimized Builds

> 标签

TypeScriptchrome-extensionchrome-extension-boilerplatechrome-extension-startercreate-chrome-extension

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类前端框架
定价开源

> 相关工具

R
React
用于构建用户界面的 JavaScript 库
V
Vue.js
渐进式 JavaScript 框架
N
Next.js
基于 React 的全栈 Web 框架