Skip to content

Commit 51cdf9c

Browse files
committed
Update all v2 templates meta
1 parent 5481a15 commit 51cdf9c

File tree

7 files changed

+295
-1
lines changed

7 files changed

+295
-1
lines changed

templates/javascript/README.md

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
<a href="https://extension.js.org" target="_blank"><img src="https://img.shields.io/badge/Powered%20by%20%7C%20Extension.js-0971fe" alt="Powered by Extension.js" align="right" /></a>
2+
3+
# javascript
4+
5+
> JavaScript-based extension template
6+
7+
What this template does in the scope of a browser extension. The description should
8+
describe for an audience of developers looking to use the template. Avoid jargon and
9+
use simple language.
10+
11+
## Installation
12+
13+
```bash
14+
npx extension@latest create <project-name> --template javascript
15+
cd <project-name>
16+
npm install
17+
```
18+
19+
## Commands
20+
21+
### dev
22+
23+
Run the extension in development mode.
24+
25+
```bash
26+
npx extension@latest dev
27+
```
28+
29+
### build
30+
31+
Build the extension for production.
32+
33+
```bash
34+
npx extension@latest build
35+
```
36+
37+
### Preview
38+
39+
Preview the extension in the browser.
40+
41+
```bash
42+
npx extension@latest preview
43+
```
44+
45+
## Learn more
46+
47+
Learn more about this and other templates at @https://extension.js.org/
48+
49+

templates/javascript/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"$schema": "https://json.schemastore.org/chrome-manifest.json",
33
"manifest_version": 3,
44
"version": "1.0.0",
5-
"name": "????javascript",
5+
"name": "javascript",
66
"description": "JavaScript-based extension template",
77
"chromium:manifest_version": 3,
88
"firefox:manifest_version": 2,

templates/preact/README.md

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
<a href="https://extension.js.org" target="_blank"><img src="https://img.shields.io/badge/Powered%20by%20%7C%20Extension.js-0971fe" alt="Powered by Extension.js" align="right" /></a>
2+
3+
# preact
4+
5+
> Preact-based extension with sidebar panel
6+
7+
What this template does in the scope of a browser extension. The description should
8+
describe for an audience of developers looking to use the template. Avoid jargon and
9+
use simple language.
10+
11+
## Installation
12+
13+
```bash
14+
npx extension@latest create <project-name> --template preact
15+
cd <project-name>
16+
npm install
17+
```
18+
19+
## Commands
20+
21+
### dev
22+
23+
Run the extension in development mode.
24+
25+
```bash
26+
npx extension@latest dev
27+
```
28+
29+
### build
30+
31+
Build the extension for production.
32+
33+
```bash
34+
npx extension@latest build
35+
```
36+
37+
### Preview
38+
39+
Preview the extension in the browser.
40+
41+
```bash
42+
npx extension@latest preview
43+
```
44+
45+
## Learn more
46+
47+
Learn more about this and other templates at @https://extension.js.org/
48+
49+

templates/react/README.md

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
<a href="https://extension.js.org" target="_blank"><img src="https://img.shields.io/badge/Powered%20by%20%7C%20Extension.js-0971fe" alt="Powered by Extension.js" align="right" /></a>
2+
3+
# react
4+
5+
> React-based extension with sidebar panel
6+
7+
What this template does in the scope of a browser extension. The description should
8+
describe for an audience of developers looking to use the template. Avoid jargon and
9+
use simple language.
10+
11+
## Installation
12+
13+
```bash
14+
npx extension@latest create <project-name> --template react
15+
cd <project-name>
16+
npm install
17+
```
18+
19+
## Commands
20+
21+
### dev
22+
23+
Run the extension in development mode.
24+
25+
```bash
26+
npx extension@latest dev
27+
```
28+
29+
### build
30+
31+
Build the extension for production.
32+
33+
```bash
34+
npx extension@latest build
35+
```
36+
37+
### Preview
38+
39+
Preview the extension in the browser.
40+
41+
```bash
42+
npx extension@latest preview
43+
```
44+
45+
## Learn more
46+
47+
Learn more about this and other templates at @https://extension.js.org/
48+
49+

templates/svelte/README.md

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
<a href="https://extension.js.org" target="_blank"><img src="https://img.shields.io/badge/Powered%20by%20%7C%20Extension.js-0971fe" alt="Powered by Extension.js" align="right" /></a>
2+
3+
# svelte
4+
5+
> Svelte-based extension with sidebar panel
6+
7+
What this template does in the scope of a browser extension. The description should
8+
describe for an audience of developers looking to use the template. Avoid jargon and
9+
use simple language.
10+
11+
## Installation
12+
13+
```bash
14+
npx extension@latest create <project-name> --template svelte
15+
cd <project-name>
16+
npm install
17+
```
18+
19+
## Commands
20+
21+
### dev
22+
23+
Run the extension in development mode.
24+
25+
```bash
26+
npx extension@latest dev
27+
```
28+
29+
### build
30+
31+
Build the extension for production.
32+
33+
```bash
34+
npx extension@latest build
35+
```
36+
37+
### Preview
38+
39+
Preview the extension in the browser.
40+
41+
```bash
42+
npx extension@latest preview
43+
```
44+
45+
## Learn more
46+
47+
Learn more about this and other templates at @https://extension.js.org/
48+
49+

templates/typescript/README.md

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
<a href="https://extension.js.org" target="_blank"><img src="https://img.shields.io/badge/Powered%20by%20%7C%20Extension.js-0971fe" alt="Powered by Extension.js" align="right" /></a>
2+
3+
# typescript
4+
5+
> TypeScript-based extension template
6+
7+
What this template does in the scope of a browser extension. The description should
8+
describe for an audience of developers looking to use the template. Avoid jargon and
9+
use simple language.
10+
11+
## Installation
12+
13+
```bash
14+
npx extension@latest create <project-name> --template typescript
15+
cd <project-name>
16+
npm install
17+
```
18+
19+
## Commands
20+
21+
### dev
22+
23+
Run the extension in development mode.
24+
25+
```bash
26+
npx extension@latest dev
27+
```
28+
29+
### build
30+
31+
Build the extension for production.
32+
33+
```bash
34+
npx extension@latest build
35+
```
36+
37+
### Preview
38+
39+
Preview the extension in the browser.
40+
41+
```bash
42+
npx extension@latest preview
43+
```
44+
45+
## Learn more
46+
47+
Learn more about this and other templates at @https://extension.js.org/
48+
49+

templates/vue/README.md

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
<a href="https://extension.js.org" target="_blank"><img src="https://img.shields.io/badge/Powered%20by%20%7C%20Extension.js-0971fe" alt="Powered by Extension.js" align="right" /></a>
2+
3+
# vue
4+
5+
> Vue.js-based extension with sidebar panel
6+
7+
What this template does in the scope of a browser extension. The description should
8+
describe for an audience of developers looking to use the template. Avoid jargon and
9+
use simple language.
10+
11+
## Installation
12+
13+
```bash
14+
npx extension@latest create <project-name> --template vue
15+
cd <project-name>
16+
npm install
17+
```
18+
19+
## Commands
20+
21+
### dev
22+
23+
Run the extension in development mode.
24+
25+
```bash
26+
npx extension@latest dev
27+
```
28+
29+
### build
30+
31+
Build the extension for production.
32+
33+
```bash
34+
npx extension@latest build
35+
```
36+
37+
### Preview
38+
39+
Preview the extension in the browser.
40+
41+
```bash
42+
npx extension@latest preview
43+
```
44+
45+
## Learn more
46+
47+
Learn more about this and other templates at @https://extension.js.org/
48+
49+

0 commit comments

Comments
 (0)