YFengFly

Results 27 comments of YFengFly

This issue has been around for a long time and has been asked in Vue CLI and Vue Loader : https://github.com/vuejs/vue-cli/issues/7130 https://github.com/vuejs/vue-loader/issues/1975 —— In this issue , typescript source maps...

Vue router has released version 3.6 to support Vue 2.7: https://github.com/vuejs/vue-router/blob/dev/CHANGELOG.md Vuex: ```js import { getCurrentInstance } from 'vue' export function useStore() { const vm = getCurrentInstance() return vm.proxy.$store }...

@vate https://github.com/vuejs/vue-router/blob/dev/CHANGELOG.md#360-2022-08-22 `import { useRoute, useRouter, useLink, onBeforeRouteUpdate onBeforeRouteLeave } from 'vue-router/composables'`

In `package.json` of `vue-router 3.6.3`: ```json "exports": { "./composables": { "import": "./dist/composables.mjs", "require": "./dist/composables.js", "types": "./types/composables.d.ts" }, }, ``` In `vue-cli 4.5.15`, it support for `*.mjs` is already available. In...

I'm glad I could give you some ideas.But after looking at router's `package.json` and its source code,I think we should use the `*.mjs` file,which is: ```js import { useRoute }...

It's the same problem. Vue 2.7.7, Vue CLI 5.0.8(Webpack 5.73.0), vue-loader 15.10.0 As a temporary solution, you can use Chrome 98 or lower to view the correct Source Map, Chrome...

我注意到,Chrome 103 ~ 105 一直在改进 Source Map 中的问题,故进行了尝试。 I noticed that Chrome 103 ~ 105 keeps fixing problems in Source Map, so I tried to verify it. 在如下环境中,Source Map 应该恢复了正常,请各位在自己的环境中再验证一下:...

@1593292349 In this demo, I had the same problem browsing in Chrome 104, with all the Source Maps is not in the right place. 在你提供的这个 Demo 中,我在 Chrome 104 同样复现出了问题,...

This problem is not only found in Chrome 104, but also in Chrome 98.But if I use Vue 3, the source maps is usual.Maybe this problem started a long time...

> 开代理 我当然知道梯子、代理这些可以访问,不然我也上不了 Github, 但这只是个人的临时方式。 个人是个人,官方是官方。