<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>Document</title>
</head>
<body>
<div id="app">
<h1>{
{ msg }}</h1>
<hr />
<router-link to="/product/1/haha">商品1</router-link>
<router-link to="/product/2">商品2</router-link>
<router-link to="/product/3">商品3</router-link>
<router-link to="/product/4">商品4</router-link>
<hr />
<router-view></router-view>
</div>
<script src="vue.js"></script>
&
$route详解
最新推荐文章于 2024-03-06 07:45:00 发布
<!DOCTYPE html><html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta http-equiv="X-UA-Compatible" content="ie=edge" /> <titl
摘要由CSDN通过智能技术生成