solved build error
parent
8a047ae683
commit
d56afadaee
|
|
@ -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};
|
||||||
|
|
@ -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};
|
||||||
|
|
@ -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};
|
||||||
|
|
@ -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};
|
||||||
|
|
@ -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};
|
||||||
|
|
@ -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
|
|
@ -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>
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
import { createRouter, createWebHistory } from 'vue-router'
|
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({
|
const router = createRouter({
|
||||||
history: createWebHistory(import.meta.env.BASE_URL),
|
history: createWebHistory(import.meta.env.BASE_URL),
|
||||||
|
|
@ -9,54 +10,55 @@ const router = createRouter({
|
||||||
name: 'home',
|
name: 'home',
|
||||||
component: HomeView
|
component: HomeView
|
||||||
},
|
},
|
||||||
{
|
{... MusclesRouter},
|
||||||
path: '/chest',
|
// {
|
||||||
name: 'chest',
|
// path: '/chest',
|
||||||
// route level code-splitting
|
// name: 'chest',
|
||||||
// this generates a separate chunk (About.[hash].js) for this route
|
// // route level code-splitting
|
||||||
// which is lazy-loaded when the route is visited.
|
// // this generates a separate chunk (About.[hash].js) for this route
|
||||||
component: () => import('../views/Muscles/ChestView.vue')
|
// // which is lazy-loaded when the route is visited.
|
||||||
},
|
// component: () => import('../views/Muscles/ChestView.vue')
|
||||||
{
|
// },
|
||||||
path: '/shoulder',
|
// {
|
||||||
name: 'shoulder',
|
// path: '/shoulder',
|
||||||
// route level code-splitting
|
// name: 'shoulder',
|
||||||
// this generates a separate chunk (About.[hash].js) for this route
|
// // route level code-splitting
|
||||||
// which is lazy-loaded when the route is visited.
|
// // this generates a separate chunk (About.[hash].js) for this route
|
||||||
component: () => import('../views/Muscles/ShoulderView.vue')
|
// // which is lazy-loaded when the route is visited.
|
||||||
},
|
// component: () => import('../views/Muscles/ShoulderView.vue')
|
||||||
{
|
// },
|
||||||
path: '/legs',
|
// {
|
||||||
name: 'legs',
|
// path: '/legs',
|
||||||
// route level code-splitting
|
// name: 'legs',
|
||||||
// this generates a separate chunk (About.[hash].js) for this route
|
// // route level code-splitting
|
||||||
// which is lazy-loaded when the route is visited.
|
// // this generates a separate chunk (About.[hash].js) for this route
|
||||||
component: () => import('../views/Muscles/LegsView.vue')
|
// // which is lazy-loaded when the route is visited.
|
||||||
},
|
// component: () => import('../views/Muscles/LegsView.vue')
|
||||||
{
|
// },
|
||||||
path: '/back',
|
// {
|
||||||
name: 'back',
|
// path: '/back',
|
||||||
// route level code-splitting
|
// name: 'back',
|
||||||
// this generates a separate chunk (About.[hash].js) for this route
|
// // route level code-splitting
|
||||||
// which is lazy-loaded when the route is visited.
|
// // this generates a separate chunk (About.[hash].js) for this route
|
||||||
component: () => import('../views/Muscles/BackView.vue')
|
// // which is lazy-loaded when the route is visited.
|
||||||
},
|
// component: () => import('../views/Muscles/BackView.vue')
|
||||||
{
|
// },
|
||||||
path: '/biceps',
|
// {
|
||||||
name: 'biceps',
|
// path: '/biceps',
|
||||||
// route level code-splitting
|
// name: 'biceps',
|
||||||
// this generates a separate chunk (About.[hash].js) for this route
|
// // route level code-splitting
|
||||||
// which is lazy-loaded when the route is visited.
|
// // this generates a separate chunk (About.[hash].js) for this route
|
||||||
component: () => import('../views/Muscles/BicepsView.vue')
|
// // which is lazy-loaded when the route is visited.
|
||||||
},
|
// component: () => import('../views/Muscles/BicepsView.vue')
|
||||||
{
|
// },
|
||||||
path: '/triceps',
|
// {
|
||||||
name: 'triceps',
|
// path: '/triceps',
|
||||||
// route level code-splitting
|
// name: 'triceps',
|
||||||
// this generates a separate chunk (About.[hash].js) for this route
|
// // route level code-splitting
|
||||||
// which is lazy-loaded when the route is visited.
|
// // this generates a separate chunk (About.[hash].js) for this route
|
||||||
component: () => import('../views/Muscles/TricepsView.vue')
|
// // which is lazy-loaded when the route is visited.
|
||||||
},
|
// component: () => import('../views/Muscles/TricepsView.vue')
|
||||||
|
// },
|
||||||
]
|
]
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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 },
|
||||||
|
]
|
||||||
|
};
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
export {default as Tilebar} from './Tilebar.vue';
|
||||||
|
|
@ -0,0 +1,8 @@
|
||||||
|
<template>
|
||||||
|
<div class="p-4">
|
||||||
|
<div class="container">
|
||||||
|
<router-view />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
|
@ -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';
|
||||||
Loading…
Reference in New Issue