![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
vue
D7号星球
这里介绍不了我
展开
-
Vant官网网址
Vant官网网址原创 2020-09-14 08:49:28 · 5084 阅读 · 3 评论 -
Vue项目安装axios报错npm error code ERESOLVE npm error ERESOLVE could not resolve解决方法
Vue项目安装axios报错npm error code ERESOLVE npm error ERESOLVE could not resolve解决方法。原创 2024-06-07 18:34:38 · 386 阅读 · 0 评论 -
Vue组件传值
1.父传子父组件:<left :msg="message"></left>data() { return { message: 'Hello vue.js' }}子组件:<p>msg的值:{{msg}}</p>// 用props接收父组件传过来的值// 方式1:props: ['msg']//方式2 :props: { msg: String //这样可以指定传入的类型,如果类型不对,会警告}//方式3:原创 2022-02-21 12:28:36 · 482 阅读 · 0 评论 -
Vue动态修改顶部title
main.jsrouter.beforeEach((to, from, next) => { // 从from跳转到to document.title = to.matched[0].meta.title; next()})router>index.jsmeta: { title: '标题' }const routes = [ { path: '/', name: 'Home', component: Home, ..原创 2021-06-22 09:56:31 · 250 阅读 · 0 评论