problem description
when webstorm uses the vue frame to write template, you can"t use this symbol (the key to the left of the 1 key on the big keyboard). Other computers can use
.the environmental background of the problems and what methods you have tried
can be replaced with a""symbol
related codes
/ / Please paste the code text below (do not replace the code with pictures)
< html lang= "en" >
< head >
<meta charset="UTF-8">
<title>Title</title>
< / head >
< body >
< div id= "App" > < / div >
< script src= " https://cdn.jsdelivr.net/npm/.;></script>
<script src= ";></script>
<script>
var login={
template:"<div><h1>login</h1></div>"
}
Vue.use(VueRouter);
var myRouter=new VueRouter({
routes:[
{name:"login",path:"/login",component:login},
{name:"register",path:"/login",component:login}
]
}
)
var vue=new Vue({
el:"-sharpApp",
router:myRouter,
template:`<div><router-link :to="{name:"login"}"></router-link><router-view></router-view></div>`
})
< / script >
< / body >
< / html >
what result do you expect? What is the error message actually seen?
template: