-
I added vue-gtag-next in vue3 TS as following
- in main.ts
```
import VueGtag from "vue-gtag-next";
app.use(VueGtag, {
config: { id: "268346821" }
});
```
and it causes following err…
-
项目运营正常,滑动swiper,执行发射时报错:
Error in event handler for "slideTab": "ReferenceError: VueRouter is not defined"
nn-kc updated
4 years ago
-
你好,我最近也在搞微前端
由于qiankun对子系统的跳转也是用到了跟vueRouter一样的h5的history
所以qiankun这边主应用的
``
不能写在``里的组件,否则也会刷新掉页面无法获得,因此只能写在App.vue里面,这样导致侧栏跟标签页等也只能写在App.vue,甚至也不能使用VueRouter。
请教下你是否有解决方案或者思路?
-
```js
new Vue({
el: '.app',
router: new VueRouter({ routes }),
components: { App },
template: ` `
})
```
Current
![one](https://user-images.githubusercontent.com/2436222/44805904-b6…
-
I was really excited of seing mobx ported into Vue. Thank you so much!
I got stuck for quite awhile because I used `array.push` and it wasn't detecting my changes.
Here's my code:
### app.j…
-
i got this error
![gambar](https://user-images.githubusercontent.com/48383804/113130061-d17d9880-9245-11eb-97c9-36bda3b5fed6.png)
how to solve this?
i'm using laravel 8 and vue 2.6.12
and @we…
-
https://luuman.github.io/2017/03/25/FrontFrame/Vue/VueRouter/
-
1. 下载及安装
```
npm install vue-router
````
如果在一个模块化工程中使用它,必须要通过 Vue.use() 明确地安装路由功能:
```
import Vue from 'vue'
import VueRouter from 'vue-router'
Vue.use(VueRouter)
```
如果使用全局的 script 标签,则无须…
-
Hi,
your umd/amd prefix is not detected by webpack. Could you use the default prefix:
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.expor…
-
How should one configure `vue-play` to work with `vue-router`? It seems like we don't have the option to pass a `router` instance to `preview`, so I'm unclear how keep components with `` elements from…