Skip to content

Commit

Permalink
Merge pull request #43 from OWK50GA/chore/migrate-to-next
Browse files Browse the repository at this point in the history
Chore: Migrated Frontend Project From React + Vite to Next.js
  • Loading branch information
Oshioke-Salaki authored Feb 3, 2025
2 parents c576b81 + 6301d1d commit 5686e61
Show file tree
Hide file tree
Showing 110 changed files with 3,449 additions and 4,433 deletions.
1 change: 1 addition & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
NEXT_PUBLIC_RPC_URL=
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ node_modules
dist
dist-ssr
*.local
.next

# Editor directories and files
.vscode/*
Expand Down
14 changes: 14 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import { dirname } from "path";
import { fileURLToPath } from "url";
import { FlatCompat } from "@eslint/eslintrc";

const __filename = fileURLToPath(import.meta.url);
const __dirname = dirname(__filename);

const compat = new FlatCompat({
baseDirectory: __dirname,
});

const eslintConfig = [...compat.extends("next/core-web-vitals")];

export default eslintConfig;
19 changes: 0 additions & 19 deletions index.html

This file was deleted.

8 changes: 8 additions & 0 deletions jsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"compilerOptions": {
"paths": {
"@/*": ["./src/*"]
}
}
}

4 changes: 4 additions & 0 deletions next.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/** @type {import('next').NextConfig} */
const nextConfig = {};

export default nextConfig;
Loading

0 comments on commit 5686e61

Please sign in to comment.