-
> 首发于微信公众号《前端成长记》,写于 2019.10.12
## 导读
有句老话说的好,好记性不如烂笔头。人生中,总有那么些东西你愿去执笔写下。
本文旨在把整个搭建的过程和遇到的问题及解决方案记录下来,希望能够给你带来些许帮助。
本文涉及的主要技术:
- [Vue3.0 - Composition API](https://vue-composition-api-…
-
I use in vue2, but was an error
My code :
```js
Format Code
import { VueMonacoEditor } from "@guolao/vue-monaco-editor";
export default {
name: "monaco",
comp…
-
~~dev mode is fine.... everything works without error, however when I try to run `quasar build` on the same project:~~
I now see this error with both `quasar dev` and `quasar build`
### **Fundamen…
-
I use this module via CDN, but now I want to add a custom language, similar to what is described in the documentation at https://microsoft.github.io/monaco-editor/monarch.html. The registration method…
-
Currently, all core shared components are loaded onto the core API object, which leads to a large, bloated object that we load on every single page of Kolibri.
In conversation with @indirectlylit, we…
-
- 你当前是什么框架(必填):
- vue2.5.2
- 你使用的是哪个包(必填):
- npm 安装的 script 标签引入后错误一样
- 你当前插件的版本(必填):0.5
- 详细描述你的bug:
- 插件载入后 控制台报三个错
- 问题代码(重要):
1.[Vue warn]: `createElement()` has b…
-
https://quasar.dev/start/upgrade-guide#migrate-to-v2-from-v1
https://www.vuemastery.com/blog/vue-3-migration-build/
- [ ] Remove use of `VueCompositionAPI`
-
### What problem does this feature solve?
As composition api has been incoporated in vue 2.7, `vue-router` should provide `useRoute` and `useRouter` to enable router usage in ``.
### What does the…
-
calling useI18n() in composition API setup creates an error, since I updated my versions.
```typescript
import { useI18n } from 'vue-i18n-composable';
// ...
export default defineComponent({
…
-
### 客户端
- 1、main.js
```js
import Vue from "vue";
import App from "./App.vue";
import VueCompositionAPI from "@vue/composition-api";
Vue.use(VueCompositionAPI);
new Vue({
…