首页 终身学习

1、在src中components中,新建Header.vue组件(首字母建议大写)

在这里插入图片描述

2、Header.vue

建议安装Vetur插件,输入vue可自动生成默认代码

在这里插入图片描述
在这里插入图片描述
在这里插入图片描述

3、在app.vue中引用组件

注意要在需要的页面引用,这里用App.vue示例

在这里插入图片描述
到此组件就引用完成啦




文章评论

    8小时 前   回复

    Foot Pedal Fishing Kayak
    Automatic Recyclable Spray Booths

    19小时 前   回复

    ITO Conductive Glass Coating Equipment
    Competitive Price for Vibrating Love Eggs - Cock sleeve - Kaiwei

    Motion Sensor Light Bulb 访客IEWindows
    1天 前   回复

    kitchen 2 pac panel
    Motion Sensor Light Bulb

    Gym Flooring For Garage 访客IEWindows
    1天 前   回复

    Kitchen Cabinet Set Complete
    Gym Flooring For Garage

    1天 前   回复

    White Cabinet Upper Door Kitchen Storage Cabinet
    Good quality Cast Iron Griddle Pan - Round Casserole Set Kitchen Cookware Cast Iron Enamel Pot With Lid - DEBIEN

    1天 前   回复

    Electrolytic Polisher
    Clean Water Pump in Plastic Casing

    Grow Bags For Plants 访客IEWindows
    1天 前   回复

    Boost Pressure System with Plastic Housing FGPXXX5JC
    Grow Bags For Plants

    Flaschensterilisator 访客IEWindows
    1天 前   回复

    Bait Runner Fishing Reel
    Flaschensterilisator

    Shiitake Mushroom 访客IEWindows
    2天 前   回复

    Tracheostomy Tube Holder
    Shiitake Mushroom

    Brake Disc Pad 访客IEWindows
    2天 前   回复

    Washroom Vanity
    Brake Disc Pad

    Body Foundation 访客IEWindows
    3天 前   回复

    Elegant Walk in Closet
    Body Foundation

    Tall Kitchen Cupboard 访客IEWindows
    3天 前   回复

    Cogent Coil Tubing
    Tall Kitchen Cupboard

    Amines 访客IEWindows
    3天 前   回复

    Hanger Shot Blasting Machine
    Amines

    3天 前   回复

    Led Advertising Display Panel
    Kitchen Benchtop Installation

    3天 前   回复

    Li Polymer Cylindrical Battery
    Electrical Cable Warning Tape

    4天 前   回复

    China Equipment/Production Line
    Bolt Cleaning and Derusting Shot Blasting Machine

    4天 前   回复

    Featured
    Matt Black Mother And Child LED Floor Lamp

    4天 前   回复

    Multimedia Led Projector For Home Theater
    Discount Price Soft Pvc Sheet - Standard dust proof 2mm flexible plastic door pvc strip curtain roll - Wanmao

    4天 前   回复

    Disposable Pod Device 650mah 4500 Puffs
    Coussin en caoutchouc de silicone pour presse à chaud

    5天 前   回复

    Metal Gift Printing
    Schmortopf aus rostfreiem Stahl

    5天 前   回复

    Esterilizador calentador de biberones
    Mopa Color Marking Machine for Stainless Steel

    5天 前   回复

    Kase Magnetic Filter System
    Watercolor Paints Solid Color

    5 Gallon Cap Mold 访客IEWindows
    5天 前   回复

    New Fashion Design for China Sexy Girl Vibrating Silicone Adult Sex Products for Women
    5 Gallon Cap Mold

    5天 前   回复

    Three Way Ball Valve With ISO5211 Mounting Pad
    Household Water Filter Cartridges

    6天 前   回复

    Sottofondo in sughero per pavimenti in legno duro
    Electric Explosion-proof Ball Valve

    Remache ciego inoxidable 访客IEWindows
    6天 前   回复

    LED T8 Round Tube Housing
    Remache ciego inoxidable

    6天 前   回复

    Auto Air Condition Flap 2K Injection Mould
    portable container cabin manufacturer

    Geradwandige Tasse 访客IEWindows
    6天 前   回复

    Basic Model Die Boards Prolsil Stante Auto Bending Machine
    Geradwandige Tasse

    6天 前   回复

    Mercedes Car Intercooler
    Sonda de transmisión infrarroja de alta calidad para Cnc

    OE 1J0 145 803T 访客IEWindows
    6天 前   回复

    Corn bin
    OE 1J0 145 803T

    7天 前   回复

    Sandalo da spiaggia uomo
    Lucky Star Projector Night Light

    SMD 2216 LED Strip 访客IEWindows
    7天 前   回复

    Handheld Fetal Doppler
    SMD 2216 LED Strip

    Study Reading Floor Lamp 访客IEWindows
    7天 前   回复

    Metal Reading Glasses
    Study Reading Floor Lamp

    7天 前   回复

    Leather Wallet For Women
    UK Market TPD 600 Puffs Vape

    Mesh Sheet Metal Parts 访客IEWindows
    7天 前   回复

    11kv Transformer
    Mesh Sheet Metal Parts

    Plasterboard Wall Anchors 访客IEWindows
    8天 前   回复

    1500VDC Solar PV Fuse Link
    Plasterboard Wall Anchors

    Gate Valve With Prices 访客IEWindows
    8天 前   回复

    Trunnion Ball Valve
    Gate Valve With Prices

    8天 前   回复

    Butterfly Check Valve
    precio de venta de componentes cnc de fundición de hierro fundido

    YHXBCP000019 访客IEWindows
    9天 前   回复

    removable bollards with chain
    YHXBCP000019

    9天 前   回复

    Fuel Water Separator Fs19599
    Bluetooth Barcode Scanner 1d 2d

    Capillary Transfer Tubes 访客IEWindows
    9天 前   回复

    ATSAML21J18B-MUT
    Capillary Transfer Tubes

    Medical Class A 访客IEWindows
    9天 前   回复

    Air Filters Trucks Auto Parts for Hino
    Medical Class A

    BTS7040-1EPA 访客IEWindows
    9天 前   回复

    Aluminum Ball Valve
    BTS7040-1EPA

    Caterpillar Chain 访客IEWindows
    10天 前   回复

    4.0 Inch Touch Screen Display
    Caterpillar Chain

    12363-62020 访客IEWindows
    10天 前   回复

    Vanity Top Quartz
    12363-62020

    Goldshell Hs1 Plus 访客IEWindows
    10天 前   回复

    50820-TBC-A02
    Goldshell Hs1 Plus

    12360-0P080 访客IEWindows
    10天 前   回复

    E27 Holder Pendant Lamp
    12360-0P080

    10天 前   回复

    Stainless Steel Pressure Cooker with Weight Valve
    Wholesale China Chain Link Fence Factory Quotes - Barbed Wire For Fencing System - Chongguan

    11天 前   回复

    Helium Star Balloons
    Glass Edge Polishing Machine

    LED Linear Light System 访客IEWindows
    11天 前   回复

    Aluminium Cream Whipper Cream Gun with Anti-Slip Silicon Grips
    LED Linear Light System

    11天 前   回复

    Circuit Board Making
    Multi Function 304 Stainless Steel Pressure Cooker

    36 Inch Round Balloons 访客IEWindows
    11天 前   回复

    Cheap Price Elastic Reflective Armband For Running
    36 Inch Round Balloons

    Attractive Air Purifier 访客IEWindows
    11天 前   回复

    Love Foil Balloon
    Attractive Air Purifier

    11天 前   回复

    Fiberglass Angle Bar
    Comprehensive Water Treatment

    12天 前   回复

    Smart Lock
    Flat Die Boards Auto Bender Machine

    12天 前   回复

    Led Light Ice Cubes
    Affordable Fabric Sofas And Couches

    16V Ultra capacitor 访客IEWindows
    12天 前   回复

    The Latest Steel Rule Auto Bender Machine
    16V Ultra capacitor

    李俊哲 访客ChromeWindows
    2022-01-20 9:50   回复

    哇哇学到了:)