Skip to content

Commit ebf0f06

Browse files
authored
refactor: update vanilla templates to be closer to others (#7)
1 parent 954a861 commit ebf0f06

File tree

8 files changed

+24
-8
lines changed

8 files changed

+24
-8
lines changed

template/framework/vanilla-ts/src/entries/options/main.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ const imageUrl = new URL(logo, import.meta.url).href;
55

66
document.querySelector("#app")!.innerHTML = `
77
<img src="${imageUrl}" height="45" />
8-
<h1>Hello Vite!</h1>
9-
<a href="https://vitejs.dev/guide/features.html" target="_blank">Documentation</a>
8+
<h1>Options</h1>
9+
<a href="https://vitejs.dev/guide/features.html" target="_blank">Vite Docs</a>
1010
`;

template/framework/vanilla-ts/src/entries/options/style.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,7 @@
55
text-align: center;
66
color: #2c3e50;
77
}
8+
9+
h1 {
10+
margin: 5px;
11+
}

template/framework/vanilla-ts/src/entries/popup/main.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ const imageUrl = new URL(logo, import.meta.url).href;
55

66
document.querySelector("#app")!.innerHTML = `
77
<img src="${imageUrl}" height="45" />
8-
<h1>Hello Vite!</h1>
9-
<a href="https://vitejs.dev/guide/features.html" target="_blank">Documentation</a>
8+
<h1>Popup</h1>
9+
<a href="https://vitejs.dev/guide/features.html" target="_blank">Vite Docs</a>
1010
`;

template/framework/vanilla-ts/src/entries/popup/style.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,7 @@
55
text-align: center;
66
color: #2c3e50;
77
}
8+
9+
h1 {
10+
margin: 5px;
11+
}

template/framework/vanilla/src/entries/options/main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ const imageUrl = new URL(logo, import.meta.url).href;
55

66
document.querySelector("#app").innerHTML = `
77
<img src="${imageUrl}" height="45" />
8-
<h1>Hello Vite!</h1>
9-
<a href="https://vitejs.dev/guide/features.html" target="_blank">Documentation</a>
8+
<h1>Options</h1>
9+
<a href="https://vitejs.dev/guide/features.html" target="_blank">Vite Docs</a>
1010
`;

template/framework/vanilla/src/entries/options/style.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,7 @@
55
text-align: center;
66
color: #2c3e50;
77
}
8+
9+
h1 {
10+
margin: 5px;
11+
}

template/framework/vanilla/src/entries/popup/main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ const imageUrl = new URL(logo, import.meta.url).href;
55

66
document.querySelector("#app").innerHTML = `
77
<img src="${imageUrl}" height="45" />
8-
<h1>Hello Vite!</h1>
9-
<a href="https://vitejs.dev/guide/features.html" target="_blank">Documentation</a>
8+
<h1>Popup</h1>
9+
<a href="https://vitejs.dev/guide/features.html" target="_blank">Vite Docs</a>
1010
`;

template/framework/vanilla/src/entries/popup/style.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,7 @@
55
text-align: center;
66
color: #2c3e50;
77
}
8+
9+
h1 {
10+
margin: 5px;
11+
}

0 commit comments

Comments
 (0)