Skip to content

Commit

Permalink
Merge pull request #198 from dejan/ext_rewrite
Browse files Browse the repository at this point in the history
Rewrite the Chrome extension
  • Loading branch information
dejan authored Apr 23, 2024
2 parents 1dfdb48 + 7c657f9 commit 37fca85
Show file tree
Hide file tree
Showing 161 changed files with 20,307 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?
9 changes: 9 additions & 0 deletions extension/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
## Development mode

npm run dev

## Preview the extension

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 37fca85

Please sign in to comment.