From 9072719b8b98ff5cc4844b437f42e08335fb7e7f Mon Sep 17 00:00:00 2001 From: Claudia Dietrich Date: Wed, 10 Apr 2024 13:26:24 +0200 Subject: [PATCH 1/2] feat: added error-fix for ckeditor-error --- docs/utils/index.md | 28 ++++++++++++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) diff --git a/docs/utils/index.md b/docs/utils/index.md index 949dea5..b88f761 100644 --- a/docs/utils/index.md +++ b/docs/utils/index.md @@ -6,7 +6,6 @@ The [vue-utils](https://github.com/viur-framework/vi-vue-utils) serve as an inte - Login screen for Vue.js applications with a ViUR backend. - Auto rendering of so called ViUR backend skeletons in a Vue.js application. - ## HTTP Requests ```js @@ -36,9 +35,11 @@ destroyStore(userList) ``` ## Login Screen + coming soon... ## Bone rendering + ::: code-group ```js:line-numbers [main.js] @@ -131,4 +132,27 @@ export default { ``` -::: \ No newline at end of file + +::: + +## Error: textbone --- ckeditor has no default export + +only if you use only JS and not TS + +in vite.config.mjs add the following code + +before build-Object: + +```js +optimizeDeps: { + include: ['@viur/ckeditor5-build-classic'], +}, +``` + +in Build-Object add after rollupOptions + +```js +commonjsOptions: { + include: ['@viur/ckeditor5-build-classic'], +} +```` From f94f5cb69c21023c7d1ad2ca98856f1df14b6c1c Mon Sep 17 00:00:00 2001 From: Claudia Dietrich Date: Wed, 24 Apr 2024 10:43:21 +0200 Subject: [PATCH 2/2] @wip --- docs/utils/index.md | 2 ++ docs/utils/tips.md | 0 2 files changed, 2 insertions(+) create mode 100644 docs/utils/tips.md diff --git a/docs/utils/index.md b/docs/utils/index.md index b88f761..89a6211 100644 --- a/docs/utils/index.md +++ b/docs/utils/index.md @@ -6,6 +6,8 @@ The [vue-utils](https://github.com/viur-framework/vi-vue-utils) serve as an inte - Login screen for Vue.js applications with a ViUR backend. - Auto rendering of so called ViUR backend skeletons in a Vue.js application. +[## Tips and tricks for your individual bones](./tips.md) + ## HTTP Requests ```js diff --git a/docs/utils/tips.md b/docs/utils/tips.md new file mode 100644 index 0000000..e69de29