solved build error

fix_layout
roberts 2023-04-28 17:40:17 +02:00
parent 8a047ae683
commit d56afadaee
20 changed files with 90 additions and 58 deletions

View File

@ -1 +1 @@
import{_ as a,o as s,c as n,a as c}from"./index-eae96017.js";const o={},r={class:"back"},t=[c("h1",null,"Back",-1)];const e=a(o,[["render",function(a,c){return s(),n("div",r,t)}]]);export{e as default};
import{_ as a,o as s,c as n,a as c}from"./index-e86da208.js";const o={},r={class:"back"},t=[c("h1",null,"Back",-1)];const e=a(o,[["render",function(a,c){return s(),n("div",r,t)}]]);export{e as default};

View File

@ -1 +1 @@
import{_ as s,o as a,c as e,a as n}from"./index-eae96017.js";const c={},o={class:"biceps"},r=[n("h1",null,"Biceps",-1)];const t=s(c,[["render",function(s,n){return a(),e("div",o,r)}]]);export{t as default};
import{_ as s,o as a,c as e,a as n}from"./index-e86da208.js";const c={},o={class:"biceps"},r=[n("h1",null,"Biceps",-1)];const t=s(c,[["render",function(s,n){return a(),e("div",o,r)}]]);export{t as default};

View File

@ -1 +1 @@
import{_ as s,o as t,c as a,a as e}from"./index-eae96017.js";const n={},o={class:"chest"},r=[e("h1",null,"Chest",-1)];const c=s(n,[["render",function(s,e){return t(),a("div",o,r)}]]);export{c as default};
import{_ as s,o as t,c as a,a as e}from"./index-e86da208.js";const n={},o={class:"chest"},r=[e("h1",null,"Chest",-1)];const c=s(n,[["render",function(s,e){return t(),a("div",o,r)}]]);export{c as default};

View File

@ -1 +1 @@
import{_ as s,o as a,c as e,a as n}from"./index-eae96017.js";const o={},r={class:"legs"},t=[n("h1",null,"Legs",-1)];const c=s(o,[["render",function(s,n){return a(),e("div",r,t)}]]);export{c as default};
import{_ as s,o as a,c as e,a as n}from"./index-e86da208.js";const o={},r={class:"legs"},t=[n("h1",null,"Legs",-1)];const c=s(o,[["render",function(s,n){return a(),e("div",r,t)}]]);export{c as default};

View File

@ -1 +1 @@
import{_ as s,o,c as r,a}from"./index-eae96017.js";const e={},n={class:"shoulder"},t=[a("h1",null,"Shoulder",-1)];const d=s(e,[["render",function(s,a){return o(),r("div",n,t)}]]);export{d as default};
import{_ as s,o,c as r,a}from"./index-e86da208.js";const e={},n={class:"shoulder"},t=[a("h1",null,"Shoulder",-1)];const d=s(e,[["render",function(s,a){return o(),r("div",n,t)}]]);export{d as default};

View File

@ -1 +1 @@
import{_ as s,o as n,c as t,a as r}from"./index-eae96017.js";const a={},e={class:"triceps"},o=[r("h1",null,[r("button",null,"Triceps")],-1)];const c=s(a,[["render",function(s,r){return n(),t("div",e,o)}]]);export{c as default};
import{_ as s,o as n,c as t,a as r}from"./index-e86da208.js";const a={},e={class:"triceps"},o=[r("h1",null,[r("button",null,"Triceps")],-1)];const c=s(a,[["render",function(s,r){return n(),t("div",e,o)}]]);export{c as default};

File diff suppressed because one or more lines are too long

2
dist/index.html vendored
View File

@ -1 +1 @@
<!doctype html><html lang="en"><head><meta charset="UTF-8"><link rel="icon" href="./favicon.ico"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Hello_World_Vue 01</title><script type="module" crossorigin src="./assets/index-eae96017.js"></script></head><body><div id="app"></div></body></html>
<!doctype html><html lang="en"><head><meta charset="UTF-8"><link rel="icon" href="./favicon.ico"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Hello_World_Vue 01</title><script type="module" crossorigin src="./assets/index-e86da208.js"></script></head><body><div id="app"></div></body></html>

View File

@ -1,5 +1,6 @@
import { createRouter, createWebHistory } from 'vue-router'
import HomeView from '../views/HomeView.vue'
import HomeView from '../views/Home.vue'
import MusclesRouter from './muscles.router.js';
const router = createRouter({
history: createWebHistory(import.meta.env.BASE_URL),
@ -9,54 +10,55 @@ const router = createRouter({
name: 'home',
component: HomeView
},
{
path: '/chest',
name: 'chest',
// route level code-splitting
// this generates a separate chunk (About.[hash].js) for this route
// which is lazy-loaded when the route is visited.
component: () => import('../views/Muscles/ChestView.vue')
},
{
path: '/shoulder',
name: 'shoulder',
// route level code-splitting
// this generates a separate chunk (About.[hash].js) for this route
// which is lazy-loaded when the route is visited.
component: () => import('../views/Muscles/ShoulderView.vue')
},
{
path: '/legs',
name: 'legs',
// route level code-splitting
// this generates a separate chunk (About.[hash].js) for this route
// which is lazy-loaded when the route is visited.
component: () => import('../views/Muscles/LegsView.vue')
},
{
path: '/back',
name: 'back',
// route level code-splitting
// this generates a separate chunk (About.[hash].js) for this route
// which is lazy-loaded when the route is visited.
component: () => import('../views/Muscles/BackView.vue')
},
{
path: '/biceps',
name: 'biceps',
// route level code-splitting
// this generates a separate chunk (About.[hash].js) for this route
// which is lazy-loaded when the route is visited.
component: () => import('../views/Muscles/BicepsView.vue')
},
{
path: '/triceps',
name: 'triceps',
// route level code-splitting
// this generates a separate chunk (About.[hash].js) for this route
// which is lazy-loaded when the route is visited.
component: () => import('../views/Muscles/TricepsView.vue')
},
{... MusclesRouter},
// {
// path: '/chest',
// name: 'chest',
// // route level code-splitting
// // this generates a separate chunk (About.[hash].js) for this route
// // which is lazy-loaded when the route is visited.
// component: () => import('../views/Muscles/ChestView.vue')
// },
// {
// path: '/shoulder',
// name: 'shoulder',
// // route level code-splitting
// // this generates a separate chunk (About.[hash].js) for this route
// // which is lazy-loaded when the route is visited.
// component: () => import('../views/Muscles/ShoulderView.vue')
// },
// {
// path: '/legs',
// name: 'legs',
// // route level code-splitting
// // this generates a separate chunk (About.[hash].js) for this route
// // which is lazy-loaded when the route is visited.
// component: () => import('../views/Muscles/LegsView.vue')
// },
// {
// path: '/back',
// name: 'back',
// // route level code-splitting
// // this generates a separate chunk (About.[hash].js) for this route
// // which is lazy-loaded when the route is visited.
// component: () => import('../views/Muscles/BackView.vue')
// },
// {
// path: '/biceps',
// name: 'biceps',
// // route level code-splitting
// // this generates a separate chunk (About.[hash].js) for this route
// // which is lazy-loaded when the route is visited.
// component: () => import('../views/Muscles/BicepsView.vue')
// },
// {
// path: '/triceps',
// name: 'triceps',
// // route level code-splitting
// // this generates a separate chunk (About.[hash].js) for this route
// // which is lazy-loaded when the route is visited.
// component: () => import('../views/Muscles/TricepsView.vue')
// },
]
})

View File

@ -0,0 +1,15 @@
import { Legs, Back, Chest, Shoulder, Triceps, Biceps } from '@/views/muscles';
import Tilebar from '@/views/layouts';
export default {
path: '/muscles',
component: Tilebar,
children: [
{ path: 'legs', component: Legs },
{ path: 'back', component: Back },
{ path: 'chest', component: Chest },
{ path: 'shoulder', component: Shoulder },
{ path: 'triceps', component: Triceps },
{ path: 'bicepts', component: Biceps },
]
};

View File

@ -0,0 +1 @@
export {default as Tilebar} from './Tilebar.vue';

View File

@ -0,0 +1,8 @@
<template>
<div class="p-4">
<div class="container">
<router-view />
</div>
</div>
</template>

View File

@ -0,0 +1,6 @@
export {default as Legs} from './Legs.vue';
export {default as Back} from './Back.vue';
export {default as Chest} from './Chest.vue';
export {default as Shoulder} from './Shoulder.vue';
export {default as Triceps} from './Triceps.vue';
export {default as Biceps} from './Biceps.vue';