vue2
Vue is a JavaScript framework for building websites. The intent of Vue is to make the integration of other JavaScript libraries easy. It is designed to organize and simplify web development.
Here are 2,353 public repositories matching this topic...
我的vue.config.js配置
configureWebpack: config => {
require('@vux/loader').merge(config, {
plugins: ['vux-ui']
})
}
vux及vux-loader版本
"vux": "^2.9.4",
"vux-loader": "^1.2.9"
npm run serve/build 时报错如下内容
Error: [BABEL] unknown: Preset /* your preset */ requires a filename to be set when babel is called directly,
babel.transform(code,
I want to format some selection node to some other ,but not found the api,some function like :
- import some css, that can redefine the style
- add some predefined style,that can be apply to selected element
- do any replace as I want (maybe what I need is get selection's element node,content,then set content)
add parent element div and class
<p>autor: abc</p><p>date:2020...</>
-
Follow up from #4453
Currently, documentation for <b-table> really only discusses and provides examples for the row-selected event:
https://bootstrap-vue.org/docs/components/table/#row-select-support
The only places the row-clicked event is mentioned are:
https://bootstrap-vue.org/docs/components/table/#data-row-accessibility
https://bootstrap-vue.org/docs/components/table/#comp-re
.英文不是很好,用的是nuxt.js,在刷新引入插件的页面会报window is not defined
// nuxt.config.js
plugins: [ {src: '~plugins/swiper',ssr: false} ],
//plugins文件夹下
import Vue from 'vue';
if (process.BROWSER_BUILD) {
const VueAwesomeSwiper = require('vue-awesome-swiper/dist/ssr');
Vue.use(VueAwesomeSwiper);
}
.vue文件
import { swiper, swiperSlide } from 'vue-awesome-swiper';
compone
package.json 如下
{
"name": "atool",
"version": "0.1.0",
"private": true,
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
"lint": "vue-cli-service lint",
"dev": "yarn serve"
},
"dependencies": {
Versions
- vee-validate: 3.1.3
- vue: 2.6.10
- vue-jest: 3.0.5
- @vue/test-utils: ^1.0.0-beta.31
Describe the bug
I have a BaseInput.vue component which has one default <slot></slot> wrapped in a <validation-provider>. When it has errors it will show the error message inside a <div class="error-message"></div>.
But, in my tests, when I pass a <input> to the default slo
Note: for support questions, please use stackoverflow. This repository's issues are reserved for feature requests and bug reports.
-
I'm submitting a ...
- bug report
- feature request
- support request => Please do not submit support request here, see note at the top of this template.
-
Do you want to request a feature or report a bug?
Minor bug
In NUXT project, highlight.js asynchronous change 'content'. In 'onEditorChange(){}' , 'this.content' repeated assignment. So dead cycle. The code and error are as follows:
[Vue warn]: You may have an infinite update loop in a component render function.
found in
---> <QuillEditor> at components/common/quillEditor.vue
<Pages/detail/Index.vue> at pages/detaHi,
I want to show an issue that bitten me hard in the past days, I've had problems in subscriptions but I've seen same behaviour in queries too ,
my current versions of vue-apollo are the latest one available today ("vue-apollo": "3.0.0-rc.1", ) ( aswell as latest version of nuxt/vue etc ) , but while investigating I've seen this issue existing in past versions too
wrong
Hey, I am using tooltip in my navbar and I have two layout.
- With navbar
- No Navbar
I have button in navbar which navigates to another layout which dont have any navbar.(So, when I click on btn, btn it self and navbar gets destroyed). But that tooltip which I used on button still remain.
i have created simillar demo for you.
jsfiddle
npm link后提示
npm WARN iview@2.14.0 requires a peer of vue@^2.5.2 but none is installed. You must install peer dependencies yourself.
npm WARN WZ@1.0.0 No repository field.
wz命令执行不了。
Element UI version
2.4.5
OS/Browsers version
Chrome 67.0.3396.99 (64bit)
Vue version
2.5.17
Compent version
- VideoJs V6.6.2
- Element-UI v2.4.5
Reproduction Link
https://jsfiddle.net/15klli/h63s104c/14/
Steps to reproduce
- 点击“打开dialog”--click the link to open dialog
- 点击 poster中间的播放按钮(无反应) -- click the Pl
-
Updated
Nov 18, 2017 - JavaScript
问题描述
作者是个菜鸟,请详细地描述问题,不要一句话带过(特别是将描述放在标题上的),根据情况贴上代码
处理 issue 是件很耗精力的事,请提交 issue 前考虑一下是否把问题说清楚了
产生环境
- **使用版本:-
- **引入方式:CDN | NPM
- **演示地址:-
提示错误信息
- Invalid prop: custom validator check failed for prop "startDate".
- Invalid prop: custom validator check failed for prop "endDate".
- Invalid prop: custom validator check failed for prop "value".
代码区域
https://github.com/pablohpsilva/vuejs-component-style-guide#why-6
Again, grouping makes the component easier to read (name; extends; props, data and computed; components; watch and methods; lifecycle methods, etc.);
export default {
// Do not forget this little guy
name: 'RangeSlider',
// share common functionality with component mixins
mixins: [],
// compos-
Updated
Jul 16, 2020 - Vue
-
Updated
Nov 5, 2017 - Vue
-
Updated
Jul 13, 2020 - Vue
Hi all, in the documentation @ Use Customer Image , it uses @imageAdded.
However using @imageAdded does not trigger the function.
Instead, by using @image-added only does the function is triggered.
<vue-editor id="editor" useCustomImageHandler @imageAdded="handleImageAdded" v-model="content" ></vue-editor>
ERROR in ./src/main.js
✘ http://eslint.org/docs/rules/ Parsing error: Unexpected token
44 | cordova.initialize()
45 | // 打开此行代码的注释可以打 cordova 的包
46 |
| ^
G:\VueDemo\vue-objccn-master\src\main.js:46:1
^
✘ 1 problem (1 error, 0 warnings)
Errors:
1 http://eslint.org/docs/rules/null
ERROR in ./src/main.js
Module build failed: SyntaxError: G:/VueDemo/v
-
Updated
Jul 13, 2020 - TypeScript
Vue.js version and component version
vueversion2.6.11vue-codemirrorversion4.0.6
Steps to reproduce
- Make editor with model set:
<codemirror v-model="draft" /> - Initially set model:
draft: 'TO WHATEVER TEXT'. - Open editor, press Ctrl + Z.
What is Expected?
Nothing must happen.
What is actually happening?
Conten


Environment
Vuetify Version: 2.2.20
Vue Version: 2.6.11
Browsers: Chrome 80.0.3987.163
OS: Mac OS 10.15.2
Steps to reproduce
Expected Behavior
v-autocomplete/v-combobox `@b