open-index/open-npm huggingface dataset:
npm package: @odyzeo/wysiwyg
Description: ## Project setup ``` npm install ```
Latest version: 3.31.3

# wysiwyg

## Project setup
```
npm install
```

### Compiles and hot-reloads for development
```
npm run serve
```

### Compiles and minifies for production
```
npm run build
```

### Run your unit tests
```
npm run test:unit
```

### Run your end-to-end tests
```
npm run test:e2e
```

### Lints and fixes files
```
npm run lint
```

### Translations
When using Wysiwyg in project we expect you are using `v18n` translation plugin.
So we use `$t` and `$tc` functions in this plugin, hope you will use `v18n` and it will translate the keys.

If you are not using `v18n` you can define `$t` and `$tc` mixin as you can see in App.vue.

You can get default (Slovak!) translation keys:
```js
import { translations } from '@/index'; // flat 'key: value' object w/ available strings
import { sk } from '@/index'; // nested 'key: value' object w/ available strings
``` 

#### Extract translations w/
```
npm run lang
```

### Customize configuration
See [Configuration Reference](https://cli.vuejs.org/config/).

#TODO
* move WysiwygSnippet to plugins
* move WTabPreviewMobile to plugins
* move WCopyToClipboard and WPasteFromClipboard to plugins