Skip to content

Commit

Permalink
Rewrite the Chrome extension
Browse files Browse the repository at this point in the history
  • Loading branch information
dejan committed Apr 22, 2024
1 parent 1dfdb48 commit ba8b662
Show file tree
Hide file tree
Showing 253 changed files with 33,452 additions and 1,971 deletions.
24 changes: 24 additions & 0 deletions extension/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
dist
dist-ssr
*.local

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
7 changes: 7 additions & 0 deletions extension/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
## Preview the extension

```bash
npm run build
```

In Chrome > Plugins > Load unpacked select `dist` directory.
14 changes: 14 additions & 0 deletions extension/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<!doctype html>
<html lang="en" class="light">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>RailsPanel</title>
</head>

<body class="h-dvh">
<div id="app" class="h-full overflow-x-auto"></div>
<script type="module" src="/src/main.js"></script>
</body>
</html>
Loading

0 comments on commit ba8b662

Please sign in to comment.