Skip to content

Commit

Permalink
Added the script content
Browse files Browse the repository at this point in the history
  • Loading branch information
farazshuja committed Sep 7, 2022
1 parent 9124be0 commit 0b56f5e
Show file tree
Hide file tree
Showing 18 changed files with 171 additions and 369 deletions.
1 change: 1 addition & 0 deletions components.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ declare module '@vue/runtime-core' {
IconEcosystem: typeof import('./src/components/icons/IconEcosystem.vue')['default']
IconSupport: typeof import('./src/components/icons/IconSupport.vue')['default']
IconTooling: typeof import('./src/components/icons/IconTooling.vue')['default']
PixelarticonsPower: typeof import('~icons/pixelarticons/power')['default']
TheWelcome: typeof import('./src/components/TheWelcome.vue')['default']
WelcomeItem: typeof import('./src/components/WelcomeItem.vue')['default']
}
Expand Down
6 changes: 6 additions & 0 deletions manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
"name": "CRXJS Vue Vite Example",
"version": "1.0.0",
"action": { "default_popup": "src/popup/index.html" },
"content_scripts": [
{
"js": ["src/contentScripts/index.ts"],
"matches": ["https://*/*"]
}
],
"options_ui": {
"page": "src/options/index.html",
"open_in_tab": true
Expand Down
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
},
"dependencies": {
"@vueuse/core": "^9.1.1",
"vue": "^3.2.37"
"vue": "^3.2.37",
"webext-bridge": "^5.0.5"
},
"devDependencies": {
"@crxjs/vite-plugin": "^1.0.14",
Expand All @@ -22,7 +23,7 @@
"@types/jsdom": "^20.0.0",
"@types/node": "^16.11.47",
"@types/webextension-polyfill": "^0.9.0",
"@vitejs/plugin-vue": "^3.0.1",
"@vitejs/plugin-vue": "^2.3.2",
"@vue/eslint-config-prettier": "^7.0.0",
"@vue/eslint-config-typescript": "^11.0.0",
"@vue/test-utils": "^2.0.2",
Expand All @@ -36,7 +37,7 @@
"unplugin-auto-import": "^0.11.2",
"unplugin-icons": "^0.14.8",
"unplugin-vue-components": "^0.22.4",
"vite": "^3.0.4",
"vite": "^2.9.15",
"vite-plugin-windicss": "^1.8.7",
"vitest": "^0.21.0",
"vue-tsc": "^0.39.5",
Expand Down
54 changes: 0 additions & 54 deletions src/App.vue

This file was deleted.

42 changes: 0 additions & 42 deletions src/components/HelloWorld.vue

This file was deleted.

91 changes: 0 additions & 91 deletions src/components/TheWelcome.vue

This file was deleted.

86 changes: 0 additions & 86 deletions src/components/WelcomeItem.vue

This file was deleted.

11 changes: 0 additions & 11 deletions src/components/__tests__/HelloWorld.spec.ts

This file was deleted.

12 changes: 0 additions & 12 deletions src/components/icons/IconCommunity.vue

This file was deleted.

12 changes: 0 additions & 12 deletions src/components/icons/IconDocumentation.vue

This file was deleted.

12 changes: 0 additions & 12 deletions src/components/icons/IconEcosystem.vue

This file was deleted.

12 changes: 0 additions & 12 deletions src/components/icons/IconSupport.vue

This file was deleted.

Loading

0 comments on commit 0b56f5e

Please sign in to comment.