We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在使用Vue3+vuecli 按需引入或单独引入时,发现缺少文件导致组件抖动,引入全部样式文件可解决抖动
{ "name": "test", "version": "0.1.0", "private": true, "scripts": { "serve": "vue-cli-service serve", "build": "vue-cli-service build", "lint": "vue-cli-service lint" }, "dependencies": { "@varlet/ui": "^1.27.17", "core-js": "^3.6.5", "vue": "^3.0.0" }, "devDependencies": { "@vue/cli-plugin-babel": "~4.5.15", "@vue/cli-plugin-eslint": "~4.5.15", "@vue/cli-service": "~4.5.15", "@vue/compiler-sfc": "^3.0.0", "@vue/eslint-config-prettier": "^6.0.0", "babel-eslint": "^10.1.0", "eslint": "^6.7.2", "eslint-plugin-prettier": "^3.3.1", "eslint-plugin-vue": "^7.0.0", "less": "^3.0.4", "less-loader": "^5.0.0", "prettier": "^2.2.1", "unplugin-vue-components": "^0.21.1" } }
import { createApp } from 'vue' import App from './App.vue' import { DatePicker } from '@varlet/ui' import '@varlet/ui/es/date-picker/style/index' createApp(App).use(DatePicker).mount('#app') 点击左右切换月份按钮会抖动。
import { createApp } from 'vue' import App from './App.vue' import { DatePicker } from '@varlet/ui' import '@varlet/ui/es/date-picker/style/index' createApp(App).use(DatePicker).mount('#app')
The text was updated successfully, but these errors were encountered:
我这边不能复现你的问题,请提供一个最小复现的例子
Sorry, something went wrong.
main.js中 App.vue中 此项目为新建无任何配置 vuecli 4.15.15+vue3
已复现
c1303a0
BeADre
No branches or pull requests
Bug report 🐞
在使用Vue3+vuecli 按需引入或单独引入时,发现缺少文件导致组件抖动,引入全部样式文件可解决抖动
Version & Environment
{ "name": "test", "version": "0.1.0", "private": true, "scripts": { "serve": "vue-cli-service serve", "build": "vue-cli-service build", "lint": "vue-cli-service lint" }, "dependencies": { "@varlet/ui": "^1.27.17", "core-js": "^3.6.5", "vue": "^3.0.0" }, "devDependencies": { "@vue/cli-plugin-babel": "~4.5.15", "@vue/cli-plugin-eslint": "~4.5.15", "@vue/cli-service": "~4.5.15", "@vue/compiler-sfc": "^3.0.0", "@vue/eslint-config-prettier": "^6.0.0", "babel-eslint": "^10.1.0", "eslint": "^6.7.2", "eslint-plugin-prettier": "^3.3.1", "eslint-plugin-vue": "^7.0.0", "less": "^3.0.4", "less-loader": "^5.0.0", "prettier": "^2.2.1", "unplugin-vue-components": "^0.21.1" } }
Expectation
Actual results (or Errors)
import { createApp } from 'vue' import App from './App.vue' import { DatePicker } from '@varlet/ui' import '@varlet/ui/es/date-picker/style/index' createApp(App).use(DatePicker).mount('#app')
点击左右切换月份按钮会抖动。
The text was updated successfully, but these errors were encountered: