GithubHelp home page GithubHelp logo

vuecomponent / pro-components Goto Github PK

View Code? Open in Web Editor NEW
524.0 524.0 216.0 3.19 MB

easy use `Ant Design Vue` layout

License: MIT License

JavaScript 0.40% Less 6.01% TypeScript 80.25% HTML 0.34% Vue 12.22% CSS 0.78%
ant antd pro-layout vue

pro-components's Introduction

简体中文 | English

Pro Components

文档

这里放置了 pro 系列组件,用于支撑重型组件

Vue Support Vue Grammar Level NPM downloads License

🖥 浏览器兼容性

  • 现代浏览器和. 如果需要支持 Internet Explorer 11,你可以选择使用 1.x.
  • Electron
edge Edge chrome safari electron_48x48
Edge last 2 versions last 2 versions last 2 versions last 2 versions

参与贡献

我们非常欢迎你的贡献,你可以通过以下方式和我们一起共建 😃 :

  • 在你的公司或个人项目中使用 Ant Design Vue、Pro 和 Pro Components。
  • 通过 Issue 报告 bug 或进行咨询。
  • 提交 Pull Request 改进 Pro Components 的代码。

组件看板

组件 下载量 版本
pro-layout layout npm package
pro-form layout npm package
pro-field layout npm package
pro-table layout npm package

LICENSE

MIT

pro-components's People

Contributors

aibayanyu20 avatar airlenet avatar coffee377 avatar eth3lbert avatar kkaaddff avatar lolarun avatar minhlong avatar niccraver avatar qiyedao avatar ref9199 avatar renovate-bot avatar sendya avatar ssshuai1999 avatar starhosea avatar sun79 avatar sunshinelixun avatar tangjinzhou avatar tomgao365 avatar tsmask avatar walkalone0325 avatar yogazong avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pro-components's Issues

examples的依赖报错

These dependencies were not found:

  • @ant-design/icons/lib/outline/AlignLeftOutline in ./src/core/antd/icons.js
  • @ant-design/icons/lib/outline/ArrowLeftOutline in ./src/core/antd/icons.js
  • @ant-design/icons/lib/outline/ArrowRightOutline in ./src/core/antd/icons.js
  • @ant-design/icons/lib/outline/CheckOutline in ./src/core/antd/icons.js
  • @ant-design/icons/lib/outline/CloseOutline in ./src/core/antd/icons.js
  • @ant-design/icons/lib/outline/CopyrightOutline in ./src/core/antd/icons.js
  • @ant-design/icons/lib/outline/DashboardOutline in ./src/core/antd/icons.js
  • @ant-design/icons/lib/outline/DownOutline in ./src/core/antd/icons.js
  • @ant-design/icons/lib/outline/EllipsisOutline in ./src/core/antd/icons.js
  • @ant-design/icons/lib/outline/GithubOutline in ./src/core/antd/icons.js
  • @ant-design/icons/lib/outline/GlobalOutline in ./src/core/antd/icons.js
  • @ant-design/icons/lib/outline/LeftOutline in ./src/core/antd/icons.js
  • @ant-design/icons/lib/outline/LoadingOutline in ./src/core/antd/icons.js
  • @ant-design/icons/lib/outline/LogoutOutline in ./src/core/antd/icons.js
  • @ant-design/icons/lib/outline/MenuFoldOutline in ./src/core/antd/icons.js
  • @ant-design/icons/lib/outline/MenuUnfoldOutline in ./src/core/antd/icons.js
  • @ant-design/icons/lib/outline/NotificationOutline in ./src/core/antd/icons.js
  • @ant-design/icons/lib/outline/QuestionCircleOutline in ./src/core/antd/icons.js
  • @ant-design/icons/lib/outline/ReloadOutline in ./src/core/antd/icons.js
  • @ant-design/icons/lib/outline/RightOutline in ./src/core/antd/icons.js
  • @ant-design/icons/lib/outline/SettingOutline in ./src/core/antd/icons.js
  • @ant-design/icons/lib/outline/SmileOutline in ./src/core/antd/icons.js
  • @ant-design/icons/lib/outline/UserOutline in ./src/core/antd/icons.js
  • @ant-design/icons/lib/outline/VideoCameraOutline in ./src/core/antd/icons.js

不使用国际化时settingDrawer显示异常

问题描述:prolayout中的i18nRender设置为false后,prolayout中的settingdrawer组件,显示的名字异常。
image
image
期望结果:可否通过传参的方式,在关闭i18n后,显示指定语言的文字呢。

compile error

项目在本地编译与开发的时候会得到ReferenceError: primordials is not defined 类似错误。能否提供对应的开发环境依赖呢。我想在项目上进行一些二次开发。感谢

Weekly Digest (19 January, 2020 - 26 January, 2020)

Here's the Weekly Digest for vueComponent/pro-layout:


ISSUES

Last week, no issues were created.


PULL REQUESTS

Last week, no pull requests were created, updated or merged.


COMMITS

Last week there were no commits.


CONTRIBUTORS

Last week there were no contributors.


STARGAZERS

Last week there were no stargazers.


RELEASES

Last week there were no releases.


That's all for last week, please 👀 Watch and Star the repository vueComponent/pro-layout to receive next weekly updates. 😃

You can also view all Weekly Digests by clicking here.

Your Weekly Digest bot. 📆

prolayout配置菜单方式

请问prolayout是否有菜单的slot可以更改呢,默认的菜单和需求不太匹配,目前只找到侧边菜单可以改的地方,顶部菜单好像没法改,menu不传就报错,有较好的方式保留用prolayout的情况下改变菜单的响应方式吗

关于mix菜单

在一些业务场景中,针对三级菜单的业务系统,希望能有mix菜单展示,header nav上展示一级菜单 left menu 展示二级以下菜单。请问关于mix菜单模式 pro-layout 有在开发计划中吗?感谢回答

请问下pro layout依赖里面是否有病毒,vscode打开pro-layout项目(未运行)cpu占用飙升特别快,关闭后又恢复正常

  1. 请问下pro-layout依赖是否有病毒,vscode只打开项目未运行cpu疯狂的占用,查看是pro-layout node_modules里面的依赖文件启动了两个进程具体截图(操作视频信息:链接: https://pan.baidu.com/s/18qQCeL6rmcpZj3XVIVi2CA 密码: hrko)
    image

  2. 进程1信息

cwd
/Users/zxiaozhou/VsCodeProjects/pro-layout
txt
/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar.unpacked/vscode-ripgrep/bin/rg
txt
/usr/lib/dyld
0
->0x9aff2ec07cebab31
1
->0x9aff2ec07cebcb39
2
->0x9aff2ec07cebc369
3
/Users/zxiaozhou/VsCodeProjects/pro-layout/node_modules/[email protected]@braces/node_modules
5
/Users/zxiaozhou/VsCodeProjects/pro-layout/node_modules/[email protected]@jest-haste-map
6
/Users/zxiaozhou/VsCodeProjects/pro-layout/node_modules/[email protected]@is-extendable/node_modules
7
vnode: FD unavailable
9
/Users/zxiaozhou/VsCodeProjects/pro-layout/node_modules/[email protected]@source-map-resolve/node_modules
10
/Users/zxiaozhou/VsCodeProjects/pro-layout/node_modules/[email protected]@nanomatch
11
/Users/zxiaozhou/VsCodeProjects/pro-layout/node_modules/[email protected]@micromatch/node_modules
12
/Users/zxiaozhou/VsCodeProjects/pro-layout/node_modules/_@[email protected]@@jest/core
13
/Users/zxiaozhou/VsCodeProjects/pro-layout/node_modules/[email protected]@to-regex
14
/Users/zxiaozhou/VsCodeProjects/pro-layout/node_modules/[email protected]@sane/node_modules
15
/Users/zxiaozhou/VsCodeProjects/pro-layout/node_modules/[email protected]@is-plain-object
16
/Users/zxiaozhou/VsCodeProjects/pro-layout/node_modules/[email protected]@jest-snapshot/node_modules
17
/Users/zxiaozhou/VsCodeProjects/pro-layout/node_modules/[email protected]@micromatch/node_modules
18
/Users/zxiaozhou/VsCodeProjects/pro-layout/node_modules/[email protected]@extend-shallow/node_modules
19
/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Resources/v8_context_snapshot.bin
20
/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Resources/natives_blob.bin
21
/Users/zxiaozhou/VsCodeProjects/pro-layout/node_modules/[email protected]@is-extendable
22
/Users/zxiaozhou/VsCodeProjects/pro-layout/node_modules/[email protected]@cross-spawn/node_modules
23
/Users/zxiaozhou/VsCodeProjects/pro-layout/node_modules/[email protected]@path-key
24
/Users/zxiaozhou/VsCodeProjects/pro-layout/node_modules/[email protected]@braces/node_modules
25
/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar
26
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/Resources/HIToolbox.rsrc
27
/Users/zxiaozhou/VsCodeProjects/pro-layout/node_modules/[email protected]@snapdragon/node_modules
28
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/Resources/English.lproj/Localized.rsrc
29
/Users/zxiaozhou/VsCodeProjects/pro-layout/node_modules/[email protected]@resolve-url
30
/Users/zxiaozhou/VsCodeProjects/pro-layout/node_modules/[email protected]@base
31
/Users/zxiaozhou/.vscode/extensions/pkief.material-icon-theme-4.2.0/dist/material-icons.json
32
/dev/ptmx
33
/Users/zxiaozhou/VsCodeProjects/pro-layout/node_modules/[email protected]@jest/node_modules
34
/Users/zxiaozhou/VsCodeProjects/pro-layout/node_modules/_@[email protected]@@babel/highlight/node_modules/@babel
35
/Users/zxiaozhou/VsCodeProjects/pro-layout/node_modules/[email protected]@object.pick
36
/Users/zxiaozhou/VsCodeProjects/pro-layout/node_modules/[email protected]@jest-cli/node_modules/@jest
38
/Users/zxiaozhou/VsCodeProjects/pro-layout/node_modules/[email protected]@jest-haste-map
39
/Users/zxiaozhou/VsCodeProjects/pro-layout/node_modules/[email protected]@isobject
40
/Users/zxiaozhou/VsCodeProjects/pro-layout/node_modules/_@[email protected]@@jest/core/node_modules
41
/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar
42
/Users/zxiaozhou/VsCodeProjects/pro-layout/node_modules/_@[email protected]@@babel/helper-validator-identifier
45
vnode: FD unavailable

  1. 进程2信息
cwd
/Users/zxiaozhou/VsCodeProjects/pro-layout
txt
/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar.unpacked/vscode-ripgrep/bin/rg
txt
/usr/lib/dyld
0
->0x9aff2ec07ceba9a1
1
->0x9aff2ec07ceba429
2
->0x9aff2ec07cebbdf1
3
/Users/zxiaozhou/VsCodeProjects/pro-layout/node_modules/[email protected]@hash-base/node_modules
4
/Users/zxiaozhou/VsCodeProjects/pro-layout/node_modules/_@[email protected]@@storybook/core
6
/Users/zxiaozhou/VsCodeProjects/pro-layout/node_modules/[email protected]@hash-base/node_modules
8
/Users/zxiaozhou/VsCodeProjects/pro-layout/node_modules/[email protected]@parse-asn1
9
/Users/zxiaozhou/VsCodeProjects/pro-layout/node_modules/[email protected]@md5.js/node_modules
10
/Users/zxiaozhou/VsCodeProjects/pro-layout/node_modules/[email protected]@bn.js/lib
12
/Users/zxiaozhou/VsCodeProjects/pro-layout/node_modules/[email protected]@safe-buffer
13
/Users/zxiaozhou/VsCodeProjects/pro-layout/node_modules/[email protected]@readable-stream/node_modules
14
/Users/zxiaozhou/VsCodeProjects/pro-layout/node_modules/[email protected]@md5.js
15
/Users/zxiaozhou/VsCodeProjects/pro-layout/node_modules/[email protected]@inherits
16
/Users/zxiaozhou/VsCodeProjects/pro-layout/node_modules/[email protected]@readable-stream/node_modules
17
vnode: FD unavailable
18
vnode: FD unavailable
19
/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Resources/v8_context_snapshot.bin
20
/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Resources/natives_blob.bin
21
/Users/zxiaozhou/VsCodeProjects/pro-layout/node_modules/[email protected]@elliptic/lib/elliptic/curve
22
/Users/zxiaozhou/VsCodeProjects/pro-layout/node_modules/@storybook
23
/Users/zxiaozhou/VsCodeProjects/pro-layout/node_modules/[email protected]@create-hmac/node_modules
25
/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar
26
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/Resources/HIToolbox.rsrc
28
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/Resources/English.lproj/Localized.rsrc
29
/Users/zxiaozhou/VsCodeProjects/pro-layout/node_modules/[email protected]@hash-base
30
/Users/zxiaozhou/VsCodeProjects/pro-layout/node_modules/[email protected]@safe-buffer
31
/Users/zxiaozhou/.vscode/extensions/pkief.material-icon-theme-4.2.0/dist/material-icons.json
32
/dev/ptmx
34
/Users/zxiaozhou/VsCodeProjects/pro-layout/node_modules/[email protected]@inherits
35
/Users/zxiaozhou/VsCodeProjects/pro-layout/node_modules/[email protected]@string_decoder/node_modules
41
/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar

  1. 只要关闭vscode打开的pro-layout一切正常

Weekly Digest (26 January, 2020 - 2 February, 2020)

Here's the Weekly Digest for vueComponent/pro-layout:


ISSUES

Last week, no issues were created.


PULL REQUESTS

Last week, 1 pull request was created, updated or merged.

UPDATED PULL REQUEST

Last week, 1 pull request was updated.
💛 #3 Configure Renovate, by renovate[bot]


COMMITS

Last week there were no commits.


CONTRIBUTORS

Last week there were no contributors.


STARGAZERS

Last week there were no stargazers.


RELEASES

Last week there were no releases.


That's all for last week, please 👀 Watch and Star the repository vueComponent/pro-layout to receive next weekly updates. 😃

You can also view all Weekly Digests by clicking here.

Your Weekly Digest bot. 📆

page-header-wrapper内的tabs属性问题

`<page-header-wrapper

:tabProps="tabProps"

:tabList="tabList"

:tab-change="tabChange"

:title="false"

content="表单页用于向用户收集或验证信息,基础表单常见于数据项较少的表单场景。">

</>
tabProps: {
type: 'card',
size: 'large'
}`
可否这样使用?
tabList和tab-change是可用的。我的需求是如下:
image

image
如果不能使用,可否增加加强tabs的配置。
图片不知道为啥打不开,可以打开链接,是可以看到的。

Weekly Digest (10 January, 2020 - 17 January, 2020)

Here's the Weekly Digest for vueComponent/pro-layout:


ISSUES

Last week, no issues were created.


PULL REQUESTS

Last week, 1 pull request was created, updated or merged.

UPDATED PULL REQUEST

Last week, 1 pull request was updated.
💛 #3 Configure Renovate, by renovate[bot]


COMMITS

Last week there were no commits.


CONTRIBUTORS

Last week there were no contributors.


STARGAZERS

Last week there was 1 stargazer.
xcorp1986
You are the star! 🌟


RELEASES

Last week there were no releases.


That's all for last week, please 👀 Watch and Star the repository vueComponent/pro-layout to receive next weekly updates. 😃

You can also view all Weekly Digests by clicking here.

Your Weekly Digest bot. 📆

侧边栏设置高亮

当侧边栏只隐藏一级子菜单的时候,打开子页面,侧边栏是高亮的。
当侧边栏隐藏两级及以上子菜单的时候,打开子页面,侧边栏不会高亮显示。

QQ截图20200819181607
QQ截图20200819181622

nuxt.js集成pro-layout运行报错

nuxt编译环境

客户端+服务端渲染(client + ssr )

错误重现步骤

  1. 在plugins目录下引入
  2. 在nuxt.config.js中引入
  3. 设置为ssr渲染

image

image

报错如下:

image

是该组件不支持ssr还是需要在nuxt中进行特殊的设置呢?

Weekly Digest (12 January, 2020 - 19 January, 2020)

Here's the Weekly Digest for vueComponent/pro-layout:


ISSUES

Last week, no issues were created.


PULL REQUESTS

Last week, 1 pull request was created, updated or merged.

UPDATED PULL REQUEST

Last week, 1 pull request was updated.
💛 #3 Configure Renovate, by renovate[bot]


COMMITS

Last week there were no commits.


CONTRIBUTORS

Last week there were no contributors.


STARGAZERS

Last week there was 1 stargazer.
xcorp1986
You are the star! 🌟


RELEASES

Last week there were no releases.


That's all for last week, please 👀 Watch and Star the repository vueComponent/pro-layout to receive next weekly updates. 😃

You can also view all Weekly Digests by clicking here.

Your Weekly Digest bot. 📆

How to use with NuxtJS

Hi!

I am no NuxtJS expert, therefor I wonder how to use it?

Example of a pain point for me to convert from VueJS to NuxtJS :

this.menus = asyncRouterMap.find(item => item.path === '/').children

Could you provide an example?

如何设置可以让左边的menu默认hide掉

就是左边的sidermenu完全hide掉, collapsed只能折叠sidemenu。
有没有可能让menu完全隐藏掉,然后只显示最上面的icon,点击icon出现menu的抽屉?

看了ant design vue的源代码, 怎么把collapsedWidth 传给Sider?

是否可以在SiderMenu.jsx 里面提供collapsedWidth 传给Sider?

谢谢

`vc-tools run server` Error

执行 yarn start

然后报错

> Executing task: npm run start <


> @ant-design-vue/[email protected] start D:\zhuniu\merge-project\test1\pro-layout
> vc-tools run server

Listening at http://localhost:9528
koa deprecated Support for generators will be removed in v3. See the documentation for examples of how to convert old middleware https://github.com/koajs/koa/blob/master/docs/migration.md node_modules\@ant-design-vue\tools\lib\server\index.js:43:7
D:\zhuniu\merge-project\test1\pro-layout\node_modules\@ant-design-vue\tools\node_modules\webpack\lib\webpack.js:31
                throw new WebpackOptionsValidationError(webpackOptionsValidationErrors);
                ^

WebpackOptionsValidationError: Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.
 - configuration.entry should be an non-empty object.
   -> Multiple entry bundles are created. The key is the chunk name. The value can be a string or an array.
    at webpack (D:\zhuniu\merge-project\test1\pro-layout\node_modules\@ant-design-vue\tools\node_modules\webpack\lib\webpack.js:31:9)
    at module.exports (D:\zhuniu\merge-project\test1\pro-layout\node_modules\@ant-design-vue\tools\lib\server\index.js:65:20)
    at Object.<anonymous> (D:\zhuniu\merge-project\test1\pro-layout\node_modules\@ant-design-vue\tools\lib\cli\run.js:47:36)
    at Module._compile (internal/modules/cjs/loader.js:1138:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1158:10)
    at Module.load (internal/modules/cjs/loader.js:986:32)
    at Function.Module._load (internal/modules/cjs/loader.js:879:14)
    at Module.require (internal/modules/cjs/loader.js:1026:19)
    at require (internal/modules/cjs/helpers.js:72:18)
    at Object.<anonymous> (D:\zhuniu\merge-project\test1\pro-layout\node_modules\@ant-design-vue\tools\bin\vc-tools-run.js:2:1)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @ant-design-vue/[email protected] start: `vc-tools run server`
npm ERR! Exit status 1
npm ERR!

@sendya

想了解 pro-layout 3.0 的一些计划安排和开发进度

公司最近计划现有多个项目使用 vue3 重构,新项目直接使用 vue3 开发,完全使用了ant-design-vuepro-layout。由于业务限制,fork 使用了 pro-layout 修改增加一些业务化的东西,目前 vue3pro-layout还在重构中,所以想了解一下新版开发计划安排。

不知新版的 pro-layout 仅是对现有版本的ts重构,还是计划增加一些新的特性,比如 layout(react)一些调整:
1.菜单的宽度和头部的高度,使布局更紧凑
2.菜单的收起和展开放在了菜单最下方
这种调整在小分辨率笔记本下效果更好。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.