Vue.js

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 26,184 public repositories matching this topic...
-
Updated
May 19, 2020
在inline-edit-table.vue里边设置自定义的指令 v-el-height-adaptive-table="{bottomOffset: 30}"报错:Failed to resolve directive: el-height-adap
Describe the bug
In the config.js addParameters
function, if I set isFullscreen: true
and open the webpage, it is fullscreen on startup. But if I set isFullscreen: false
and open the webpage again, it is still full-screen on startup.
To Reproduce
- Set
isFullscreen: true
, open the webpage, - Close the webpage or stop the server
- Set
isFullscreen: false
, open the webpa
Existing Component
Yes
Component Name
el-scrollbar
Description
I'm trying to add a scrollbar to an aside menu with el-scrollbar componant but I have some difficulty due to missing entry in the documentation.
My case is exactly the same as the documentation: a fixed header, a scrollable sidebar menu and a scro
Prettier supports EditorConfig, but the docs are almost silent about this fact. In particular:
- the "Options" page must specify which options and how can be set via EditorConfig,
- the "Configuration File" page should mention EditorConfig somewhere.
See also https://gi
What problem does this feature solve?
Example use case:
A static generated app with thousands of routes, like an e-commerce having a route for each product.
Apart from scheduling nuxt generate
to run periodically and generate all static and dynamic routes, it would be nice to have the possibility to generate the static files for a single route, for example in a hook when the related ba
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
- open console
- focus input
- check console for 'handleFocus'
- click 'no data'
- check console for 'handleBlur'
- re-focus input field
- handleFocus doesn't trigger again
Expected Behavior
v-autocomplete/v-combobox `@b
Taro能使用wxs吗?
问题描述
最近使用movable-view
做了一个拖拽排序的功能,但是由于需要touchmove
事件频繁setState
来更新movable-view
的坐标,导致Android
的上的性能体验很差,IOS
不会。
看了微信的文档,这种情况可以使用WXS
来解决,请问Taro
中能否使用WXS
?如何使用呢?
参考文档: https://developers.weixin.qq.com/miniprogram/dev/framework/view/interactive-animation.html
https://developers.weixin.qq.com/miniprogram/dev/framework/performance/tips.html
Version
4.0.0-beta.1
Reproduction link
https://vuex.vuejs.org/guide/getters.html
Steps to reproduce
Go to https://vuex.vuejs.org/guide/getters.html
What is expected?
An example/explanation of how to access getters from another namespaced module.
What is actually happening?
There is no explanation.
Environment
Mac OS 10.15.3, Chrome 80.0.3987.122, Vue 2.5
Reproduction link
https://jsfiddle.net/nLkrdwc5/
Steps to reproduce
Add 'tree' property to 'columns' data, refresh (the feature should appear), nothing changes
What is expected?
TreeData feature should be displayed:
https://www.iviewui.com/components/table-en#TreeData
W
接入澳门支付
const XLSX = require('xlsx');
const wb = XLSX.utils.book_new();
const ws = XLSX.utils.json_to_sheet([]);
XLSX.utils.book_append_sheet(wb, ws, 'Bug sheet');
ws.A1 = { t: 's', f: 'square' };
XLSX.writeFile(wb, 'formula.ods');
The resulting .ODS file contains:
<table:table-cell table:formula="of:=square" office:value-type="string"><text:p>undefined</text:p></table
-
Updated
Jul 3, 2020 - Vue
v-model 不能同时使用多个修饰符
Environment
Provide version numbers for the following components (information can be retrieved by running tns info
in your project folder or by inspecting the package.json
of the project):
- CLI: 6.2.2
- Cross-platform modules: 6.0.1
- Android Runtime: 6.2.0
- iOS Runtime: 6.2.0
- Plugin(s): unrelated
Describe the bug
openFile method of utils module does not preview the
我的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,
Rename palette.styl
Feature request
palette.style
should be renamed since it's not only relevant to colors.
See config.styl.
Version
3.1.6
Reproduction link
https://codesandbox.io/s/stupefied-river-6pyng
Steps to reproduce
use component route guard before vue-router installed.
Vue.mixin({
beforeRouteUpdate(to, from, next) {
next();
}
});
Vue.use(Router)
What is expected?
Just no error or the d
-
Updated
May 3, 2020
Describe your feature request
Preferences -> Image uploader -> GitHub needs a bit of instruction.
I would suggest something like this:
If you don't have a GitHub account, you will need to make one.
A token can be generated in Settings/Developer settings
For more detailed instructions, [consult t
Mint UI version
2.2.13
OS/Browsers version
ios/chrome
Vue version
2.6.10
Reproduction Link
Steps to reproduce
nuxt :
- nuxt.config.js中按需引入mint-ui
babel: {
plugins: [
[
'component',
{
libraryName: 'element-
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...</>
-
使用 Mock mock 数据的时候,需要硬编码数据到代码里面
使用 easy-mock 需要外网访问
使用 http-mock-middleware 仅仅需要新增如下 devServer.after
的配置项,就可以很方便的管理假数据,也方便开发者任意的修改假数据,而不需要提交:
const httpMockMiddleware = require("hm-middleware");
module.exports = {
devServer: {
after: function(app, server){
app.use(httpMockMiddleware({
Currently, there seems to to be very little instruction on how/why certain combinations of _sidebar.md
files and folder structures make the sidebar navigation and pagination work.
For example, if my _sidebar.md
file contains this:
- **Services**
- [Getting Started](services/getting-started.md)
- [Running Service Locally](services/running-services.md)
and my folder
-
Updated
Jul 3, 2020 - Java
What problem does this feature solve?
It would allow us to use numbers which is larger than MAX_SAFE_INTEGER.
What does the proposed API look like?
In HTML,
{{BigInt("100")}}
,{{100n}}
,{{2n * 50n}}
or{{50n + 50n}}
should show "100" (it can be just simply string by using .toString()) at frontend.At the moment using BigInt in "Mustache" syntax just throw error.
Sure, backu