mirror of
https://github.com/Fluffy-Bean/TastyBites.git
synced 2025-05-19 09:54:58 +00:00
Move styles to SCSS file
Rename components Add Loader
This commit is contained in:
parent
12a33388f6
commit
4e6b2799f6
15 changed files with 282 additions and 84 deletions
|
@ -4,7 +4,7 @@ import Page404 from "%/pages/Page404.svelte";
|
|||
|
||||
const routes = {
|
||||
"/": wrap({
|
||||
asyncComponent: () => import("%/pages/index/PageIndex.svelte"),
|
||||
asyncComponent: () => import("%/pages/PageIndex.svelte"),
|
||||
loadingComponent: PageLoading,
|
||||
conditions: [],
|
||||
userData: { showNavBar: true },
|
||||
|
@ -15,6 +15,12 @@ const routes = {
|
|||
conditions: [],
|
||||
userData: { showNavBar: true },
|
||||
}),
|
||||
"/about": wrap({
|
||||
component: PageLoading,
|
||||
loadingComponent: PageLoading,
|
||||
conditions: [],
|
||||
userData: { showNavBar: true },
|
||||
}),
|
||||
"/cart": wrap({
|
||||
asyncComponent: () => import("%/pages/PageShoppingCart.svelte"),
|
||||
loadingComponent: PageLoading,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue