Estructura del proyecto inicial de Vue

Estructura inicial del proyecto Vue Estructura inicial del proyecto Vue V U E Estructura de unión de proyectos clave de primer inicio

a, abbr, acronym, address, applet, article, aside, audio, b, big, blockquote, body, canvas, caption, center, cite, code, dd, del, details, dfn, div, dl, dt, em, embed, fieldset, figcaption, figure, footer, form, h1, h2, h3, h4, h5, h6, header, hgroup, html, i, iframe, img, ins, kbd, label, legend, li, mark, menu, nav, object, ol, output, p, pre, q, ruby, s, samp, section, small, span, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, time, tr, tt, u, ul, var, video {
    
    
    margin: 0;
    padding: 0;
    border: 0;
    vertical-align: baseline;
    list-style: none;
    text-decoration: none;
}

Inserte la descripción de la imagen aquí

import VueRouter from "vue-router"
import Vue from "vue"
import Frame from "./components/Frame"
import Login from "./components/Login"


Vue.use(VueRouter)

const router = new VueRouter({
    
    
    routes:[
        {
    
    
            path:"/",
            component:Frame,
            name:"frame"
        },
        {
    
    
            path:"/login",
            component:Login,
            name:"login"
        }
    ]

})

export default router

Inserte la descripción de la imagen aquí

Supongo que te gusta

Origin blog.csdn.net/qq_41375318/article/details/115033713
Recomendado
Clasificación