Zed
Zed
Explore posts from servers
KPCKevin Powell - Community
Created by Zed on 6/9/2024 in #front-end
Can't center text after setting max-width
btw what happened actually?
6 replies
KPCKevin Powell - Community
Created by Zed on 6/9/2024 in #front-end
Can't center text after setting max-width
6 replies
KPCKevin Powell - Community
Created by Zed on 6/9/2024 in #front-end
Can't center text after setting max-width
woahhhhh
6 replies
KPCKevin Powell - Community
Created by Zed on 6/9/2024 in #front-end
Can't center text after setting max-width
wait lemme do it
6 replies
SSolidJS
Created by Zed on 4/11/2024 in #support
Need help on how to make "Kind of multipage" in SolidJs
ok thanks
13 replies
SSolidJS
Created by Zed on 4/11/2024 in #support
Need help on how to make "Kind of multipage" in SolidJs
nah its fine
13 replies
SSolidJS
Created by Zed on 4/11/2024 in #support
Need help on how to make "Kind of multipage" in SolidJs
does its documentaion covers all the tutorial or I have to find a yt vid
13 replies
SSolidJS
Created by Zed on 4/11/2024 in #support
Need help on how to make "Kind of multipage" in SolidJs
ok
13 replies
SSolidJS
Created by Zed on 4/11/2024 in #support
Need help on how to make "Kind of multipage" in SolidJs
just kidding lol
13 replies
SSolidJS
Created by Zed on 4/11/2024 in #support
Need help on how to make "Kind of multipage" in SolidJs
are u stalking me (jk) cuz this is the second post u answered for me lmao
13 replies
SSolidJS
Created by Zed on 4/14/2024 in #support
Solidjs route not working...
closing post
47 replies
SSolidJS
Created by Zed on 4/14/2024 in #support
Solidjs route not working...
problem solved
47 replies
SSolidJS
Created by Zed on 4/14/2024 in #support
Solidjs route not working...
thanks
47 replies
SSolidJS
Created by Zed on 4/14/2024 in #support
Solidjs route not working...
hmm k
47 replies
SSolidJS
Created by Zed on 4/14/2024 in #support
Solidjs route not working...
well then maybe I will not ig....
47 replies
SSolidJS
Created by Zed on 4/14/2024 in #support
Solidjs route not working...
btw I dont understand this statement from the App.jsx, can someone explain this -
render(() => <Router root={App} />, root);
render(() => <Router root={App} />, root);
47 replies
SSolidJS
Created by Zed on 4/14/2024 in #support
Solidjs route not working...
You mean I can work with index.jsx only + components + pages and remove App.jsx?
47 replies
SSolidJS
Created by Zed on 4/14/2024 in #support
Solidjs route not working...
it works perfectly fine
47 replies
SSolidJS
Created by Zed on 4/14/2024 in #support
Solidjs route not working...
thanks both of u
47 replies
SSolidJS
Created by Zed on 4/14/2024 in #support
Solidjs route not working...
import { Route, Router } from "@solidjs/router";
import Home from "./pages/home";
import About from "./pages/about";
import not from "./pages/notFound";
import { render } from "solid-js/web";
const root = document.getElementById("root");

function App() {
return (
<div>
<Router>
<Route path="/" component={Home} />
<Route path="/about" component={About} />
<Route path="*404" component={not} />
</Router>
</div>
);
}

render(() => <Router root={App} />, root);

export default App;
import { Route, Router } from "@solidjs/router";
import Home from "./pages/home";
import About from "./pages/about";
import not from "./pages/notFound";
import { render } from "solid-js/web";
const root = document.getElementById("root");

function App() {
return (
<div>
<Router>
<Route path="/" component={Home} />
<Route path="/about" component={About} />
<Route path="*404" component={not} />
</Router>
</div>
);
}

render(() => <Router root={App} />, root);

export default App;
47 replies