Sooraj
Sooraj
SSolidJS
Created by Sooraj on 10/9/2024 in #support
Blank page while using vercel analytics
thank you
12 replies
SSolidJS
Created by Sooraj on 10/9/2024 in #support
Blank page while using vercel analytics
ohk will try that
12 replies
SSolidJS
Created by Sooraj on 10/9/2024 in #support
Blank page while using vercel analytics
so there might be vercel analytic for solid js?
12 replies
SSolidJS
Created by Sooraj on 10/9/2024 in #support
Blank page while using vercel analytics
oh i didn't know i am new to web dev
12 replies
SSolidJS
Created by Sooraj on 10/9/2024 in #support
Blank page while using vercel analytics
import Home from "./pages/Home/Home";
import Login from "./pages/Login/Login";
import type { Component } from "solid-js";
import Verify from "./pages/verify/Verify";
import { Router, Route } from "@solidjs/router";
import Register from "./pages/Register/Register";
import Dashboard from "./pages/Dashboard/Dashboard";
import { Analytics } from "@vercel/analytics/react";

const App: Component = () => {
return (
<>
<Router>
<Route path="/login" component={Login} />
<Route path="/register" component={Register} />
<Route path="/verify" component={Verify} />
<Route path="/" component={Home} />
<Route path={`/dashboard/:year`} component={Dashboard} />
</Router>
<Analytics />
</>
);
};

export default App;
import Home from "./pages/Home/Home";
import Login from "./pages/Login/Login";
import type { Component } from "solid-js";
import Verify from "./pages/verify/Verify";
import { Router, Route } from "@solidjs/router";
import Register from "./pages/Register/Register";
import Dashboard from "./pages/Dashboard/Dashboard";
import { Analytics } from "@vercel/analytics/react";

const App: Component = () => {
return (
<>
<Router>
<Route path="/login" component={Login} />
<Route path="/register" component={Register} />
<Route path="/verify" component={Verify} />
<Route path="/" component={Home} />
<Route path={`/dashboard/:year`} component={Dashboard} />
</Router>
<Analytics />
</>
);
};

export default App;
sorry that was older code
12 replies
SSolidJS
Created by Sooraj on 10/9/2024 in #support
Blank page while using vercel analytics
import Home from "./pages/Home/Home";
import Login from "./pages/Login/Login";
import type { Component } from "solid-js";
import Verify from "./pages/verify/Verify";
import { Router, Route } from "@solidjs/router";
import Register from "./pages/Register/Register";
import Dashboard from "./pages/Dashboard/Dashboard";

const App: Component = () => {
return (
<Router>
<Route path="/login" component={Login} />
<Route path="/register" component={Register} />
<Route path="/verify" component={Verify} />
<Route path="/" component={Home} />
<Route path={`/dashboard/:year`} component={Dashboard} />
</Router>
);
};

export default App;
import Home from "./pages/Home/Home";
import Login from "./pages/Login/Login";
import type { Component } from "solid-js";
import Verify from "./pages/verify/Verify";
import { Router, Route } from "@solidjs/router";
import Register from "./pages/Register/Register";
import Dashboard from "./pages/Dashboard/Dashboard";

const App: Component = () => {
return (
<Router>
<Route path="/login" component={Login} />
<Route path="/register" component={Register} />
<Route path="/verify" component={Verify} />
<Route path="/" component={Home} />
<Route path={`/dashboard/:year`} component={Dashboard} />
</Router>
);
};

export default App;
12 replies