diff --git a/.swm/sdfdsdsdsdsdsdsdsdsss.rm5oc.sw.md b/.swm/sdfdsdsdsdsdsdsdsdsss.rm5oc.sw.md new file mode 100644 index 0000000..6e582e6 --- /dev/null +++ b/.swm/sdfdsdsdsdsdsdsdsdsss.rm5oc.sw.md @@ -0,0 +1,171 @@ +--- +id: rm5oc +name: sdfdsdsdsdsdsdsdsdsss +file_version: 1.0.2 +app_version: 0.9.1-4 +file_blobs: + package.json: 0beb07e6c7f7be666040f88e97b00eb35161a69d + src/editor.js: e0917fd0e65ef5600fa79e518ba482d23815a0e7 + webpack.config.js: c6cb9a9e51cae63f195c1d1185ad12c8c2af0724 + src/components/GpEditor.vue: 7309a31647001e64652664776bbb961f07460c4d +--- + +gdfgdfgdf + +sdfsdfdsfdsf + +sdfdsfdsfds + +
+ +**aaaaaaadasdsdssdfsd fsdfd dsdsdsd fsdf** + +david is the king!dsd + +### 📄 package.json +```json +⬜ 7 "serve": "vue-cli-service serve", +⬜ 8 "build": "npm run build:editor && npm run build:component:vue", +⬜ 9 "build:editor": "webpack --mode production", +🟩 10 "build:component:vue": "vue-cli-service build --target lib --name index ./src/editor.js", +🟩 11 "perpareMainFolder": "cp -r ./dist/* . && rm -rf ./dist && cp -r ./build/translations .", +🟩 12 "prepublishOnly": "npm run build && npm run perpareMainFolder", +🟩 13 "postpublish": "git clean -fd", +⬜ 14 "test": "echo \"Error: no test specified\" && exit 1" +⬜ 15 }, +⬜ 16 "repository": { +``` + +
+ +aaaaaaassssafghfghssssasdasdsaddsdsd + +### 📄 src/editor.js +```javascript +⬜ 6 } +⬜ 7 }; +⬜ 8 +🟩 9 export default EditorPlugin; +⬜ 10 +⬜ 11 export { GpEditor }; +⬜ 12 +``` + +
+ +hjhjjhj + +sssssדדדדdsdgfdgdfgdfgddfsdhfghfghfgh`cli`[↓](#f-Z1qEFUp) `async`[↓](#f-Z1MOAMo) `const`[↓](#f-1GGhQ8) `const`[↓](#f-1GGhQ8)ons `dist`[↓](#f-1MHE0W) fsdfsdf + +dfgdf sf sdfsdfsd f + +dfgdgdgdggdfg + +# כגדכדגכדג + +`dist`[↓](#f-1MHE0W) `resolve`[↓](#f-1BkJHg) `config`[↓](#f-tjbD2) `terser`[↓](#f-10PrwP) `async`[↓](#f-Z1MOAMo) `async`[↓](#f-Z1MOAMo) `async`[↓](#f-Z1MOAMo) + +`cli`[↓](#f-Z29sBUR) `const`[↓](#f-ZC72u7) `require`[↓](#f-Z27Gsds) + +
+ +
+ +
+ +hhhhh + +### 📄 webpack.config.js +```javascript +⬜ 14 const TerserPlugin = require( 'terser-webpack-plugin' ); +⬜ 15 +⬜ 16 module.exports = { +🟩 17 devtool: 'source-map', +⬜ 18 performance: { hints: false }, +⬜ 19 +⬜ 20 entry: path.resolve( __dirname, 'src', 'index.js' ), +``` + +
+ +fsdf s `./`[↓](#f-Z2mhDUk) `&&`[↓](#f-Z24xvuo) + +### 📄 src/components/GpEditor.vue +```vue +⬜ 19 components: { ckeditor: CKEditor.component }, +⬜ 20 props: [ 'modelValue', 'config' ], +⬜ 21 emits: ['input', 'update:modelValue'], +🟩 22 setup(props, { emit }) { +⬜ 23 const editor = ref(ClassicEditor); +⬜ 24 +⬜ 25 watch(() => props.config, async () => { +``` + +
+ + +### Swimm Note + +&&[^](#Z24xvuo) - "package.json" L8 +```json + "build": "npm run build:editor && npm run build:component:vue", +``` + +./[^](#Z2mhDUk) - "package.json" L10 +```json + "build:component:vue": "vue-cli-service build --target lib --name index ./src/editor.js", +``` + +async[^](#Z1MOAMo) - "src/components/GpEditor.vue" L25 +```vue + watch(() => props.config, async () => { +``` + +cli[^](#Z1qEFUp) - "package.json" L10 +```json + "build:component:vue": "vue-cli-service build --target lib --name index ./src/editor.js", +``` + +cli[^](#Z29sBUR) - "package.json" L7 +```json + "serve": "vue-cli-service serve", +``` + +config[^](#tjbD2) - "src/components/GpEditor.vue" L20 +```vue + props: [ 'modelValue', 'config' ], +``` + +const[^](#1GGhQ8) - "webpack.config.js" L14 +```javascript +const TerserPlugin = require( 'terser-webpack-plugin' ); +``` + +const[^](#ZC72u7) - "src/components/GpEditor.vue" L23 +```vue + const editor = ref(ClassicEditor); +``` + +dist[^](#1MHE0W) - "package.json" L11 +```json + "perpareMainFolder": "cp -r ./dist/* . && rm -rf ./dist && cp -r ./build/translations .", +``` + +require[^](#Z27Gsds) - "webpack.config.js" L14 +```javascript +const TerserPlugin = require( 'terser-webpack-plugin' ); +``` + +resolve[^](#1BkJHg) - "webpack.config.js" L20 +```javascript + entry: path.resolve( __dirname, 'src', 'index.js' ), +``` + +terser[^](#10PrwP) - "webpack.config.js" L14 +```javascript +const TerserPlugin = require( 'terser-webpack-plugin' ); +``` + +
+ +This file was generated by Swimm. [Click here to view it in the app](http://localhost:5001/repos/Z2l0aHViJTNBJTNBZ3AtZWRpdG9yJTNBJTNBZ3JlZW5wcmVzcw==/docs/rm5oc). \ No newline at end of file