a𒈙𒈙𒈙
a𒈙𒈙𒈙
SSolidJS
Created by a𒈙𒈙𒈙 on 9/9/2024 in #support
How to access cookies with ssr?
Alright, thanks
9 replies
SSolidJS
Created by a𒈙𒈙𒈙 on 9/9/2024 in #support
How to access cookies with ssr?
But it gives an error when I do
9 replies
SSolidJS
Created by a𒈙𒈙𒈙 on 9/9/2024 in #support
How to access cookies with ssr?
I have been accessing the document object for cookies
9 replies
SSolidJS
Created by a𒈙𒈙𒈙 on 9/9/2024 in #support
How to access cookies with ssr?
But where do I put this
9 replies
SSolidJS
Created by chiefcll on 8/13/2024 in #support
Solid Router - Lazy import section of site in one bundle / lazy add routes
and in your pages/FTI put
import { lazy } from 'solid-js';
import { Routes, Route } from 'solid-app-router';

const FTIComponent = lazy(() => import(/* Your FTI component here*/));
const FTIComponent2 = lazy(() => import(/* Your FTI component here*/));

function FTI() {
return (
<Routes>
{/* Your routes */}
</Routes>
);
}

export default FTI;
import { lazy } from 'solid-js';
import { Routes, Route } from 'solid-app-router';

const FTIComponent = lazy(() => import(/* Your FTI component here*/));
const FTIComponent2 = lazy(() => import(/* Your FTI component here*/));

function FTI() {
return (
<Routes>
{/* Your routes */}
</Routes>
);
}

export default FTI;
5 replies
SSolidJS
Created by chiefcll on 8/13/2024 in #support
Solid Router - Lazy import section of site in one bundle / lazy add routes
you could try
import { lazy } from 'solid-js';
import { Routes, Route } from 'solid-app-router';

const FTI = lazy(() => import('./pages/FTI'));

function App() {
return (
<Routes>
<Route path="/fti" component={FTI} />
{/* Your other routes */}
</Routes>
);
}

export default App;
import { lazy } from 'solid-js';
import { Routes, Route } from 'solid-app-router';

const FTI = lazy(() => import('./pages/FTI'));

function App() {
return (
<Routes>
<Route path="/fti" component={FTI} />
{/* Your other routes */}
</Routes>
);
}

export default App;
5 replies