Skip to content

Commit

Permalink
added page for login
Browse files Browse the repository at this point in the history
  • Loading branch information
lokesh-couchbase committed Nov 8, 2023
1 parent 9aa9a4d commit 004d779
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/reactViews/iq/bootstrap.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import * as React from "react";
import { createRoot } from "react-dom/client";
import "./index.scss";
import LoginPage from "pages/Login";

const container:HTMLElement = document.getElementById("vscodeRootIQ");
const newRoot = createRoot(container);
Expand All @@ -9,6 +10,7 @@ export const App: React.FC = () => {
return (
<div>
<p>Hello Couchbase IQ</p>
<LoginPage />
</div>
);
};
Expand Down
7 changes: 7 additions & 0 deletions src/reactViews/iq/pages/Login.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
const LoginPage = () => {
return (
<div>log3rwefin</div>
);
};

export default LoginPage;
2 changes: 2 additions & 0 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,8 @@ const iqReactConfig = {
// support reading TypeScript and JavaScript files, 📖 -> https://github.com/TypeStrong/ts-loader
extensions: [".ts", ".tsx", ".js"],
alias: {
'components': path.resolve(__dirname, 'src/reactViews/iq/components'),
'pages': path.resolve(__dirname, 'src/reactViews/iq/pages'),
},
fallback: {
"path": false,
Expand Down

0 comments on commit 004d779

Please sign in to comment.