vueComponent / Pro Layout
Licence: mit
easy use `Ant Design Vue` layout
Stars: ✭ 172
Programming Languages
typescript
32286 projects
Projects that are alternatives of or similar to Pro Layout
Ant Design Vue
🌈 An enterprise-class UI components based on Ant Design and Vue. 🐜
Stars: ✭ 15,749 (+9056.4%)
Mutual labels: antd, ant
Fc Angular
快速搭建angular后台管理系统的admin template。Fast development platform based on angular8, ng.ant.design built multi-tab page background management system (continuous upgrade) ^_^
Stars: ✭ 171 (-0.58%)
Mutual labels: antd, ant
Antd Schema Form
Based on Ant Design, interactive forms can be generated through JSON Schema configuration. - 基于Ant Design,可以通过JSON Schema配置生成可交互的表单。
Stars: ✭ 137 (-20.35%)
Mutual labels: antd, ant
React Redux Antdesign Webpack Starter
react + redux + ant design + react-router 4 + webpack 4 starter
Stars: ✭ 44 (-74.42%)
Mutual labels: antd, ant
Ng Zorro Antd
Angular UI Component Library based on Ant Design
Stars: ✭ 7,841 (+4458.72%)
Mutual labels: antd, ant
react-smart-app
Preconfiguration React + Ant Design + State Management
Stars: ✭ 13 (-92.44%)
Mutual labels: ant, antd
Vue Antd Admin
🐜 Ant Design Pro's implementation with Vue
Stars: ✭ 2,766 (+1508.14%)
Mutual labels: antd, ant
Ng Zorro Antd Mobile
A configurable Mobile UI components based on Ant Design Mobile and Angular. 🐜
Stars: ✭ 709 (+312.21%)
Mutual labels: antd, ant
React Antd Todo
A simple todo list app built with React, Redux and Antd - Ant Design
Stars: ✭ 42 (-75.58%)
Mutual labels: antd, ant
Next Terminal
Next Terminal是一个轻量级堡垒机系统,易安装,易使用,支持RDP、SSH、VNC、Telnet、Kubernetes协议。
Stars: ✭ 2,354 (+1268.6%)
Mutual labels: antd
Antd Data Table
A component that combines antd's Table and Form to do the search, display, and operating jobs for data.
Stars: ✭ 119 (-30.81%)
Mutual labels: antd
Reactjs Cognito Starter
Starter project for ReactJS + Amazon Cognito + Amazon Amplify Framework with AWS CDK support
Stars: ✭ 137 (-20.35%)
Mutual labels: antd
Antd Live Theme
Customize Ant Design specific colors dynamically on runtime
Stars: ✭ 116 (-32.56%)
Mutual labels: antd
React Antd Admin
后台前端管理系统,基于react、typescript、antd、dva及一些特别优秀的开源库实现
Stars: ✭ 117 (-31.98%)
Mutual labels: antd
Ant Javacard
Easy to use Ant task for building JavaCard Classic applets (2.1.1 to 3.1)
Stars: ✭ 109 (-36.63%)
Mutual labels: ant
React Koa Login
koa2 + react + react-router(4.0) + redux + webpack + antd
Stars: ✭ 109 (-36.63%)
Mutual labels: antd
News App By React.js
🌈一个由React.js编写的新闻WebApp。A news WebApp by React.js.
Stars: ✭ 131 (-23.84%)
Mutual labels: antd
Ant Design Pro Layout
Install
# yarn
yarn add @ant-design-vue/[email protected]
# npm
npm i @ant-design-vue/[email protected] -S
Basic Usage
First, you should add the icons that you need into the library.
import { createApp } from 'vue';
import ProLayout, { PageContainer } from '@ant-design-vue/pro-layout';
const app = createApp();
app.use(ProLayout).use(PageContainer).mount('#app');
After that, you can use pro-layout in your Vue components as simply as this:
<template>
<pro-layout v-bind="state">
<router-view />
</pro-layout>
</template>
<script>
import { defineComponent, reactive } from 'vue';
export default defineComponent({
setup() {
const state = reactive({
collapsed: false,
openKeys: ['/dashboard'],
selectedKeys: ['/welcome'],
isMobile: false,
fixSiderbar: false,
fixedHeader: false,
menuData: [],
sideWidth: 208,
hasSideMenu: true,
hasHeader: true,
hasFooterToolbar: false,
setHasFooterToolbar: has => (state.hasFooterToolbar = has),
});
return {
state,
};
},
});
</script>
or TSX
import { defineComponent, reactive } from 'vue';
import { RouterView } from 'vue-router';
import ProLayout from '@ant-design-vue/pro-layout';
export default defineComponent({
setup() {
const state = reactive({
collapsed: false,
openKeys: ['/dashboard'],
selectedKeys: ['/welcome'],
isMobile: false,
fixSiderbar: false,
fixedHeader: false,
menuData: [],
sideWidth: 208,
hasSideMenu: true,
hasHeader: true,
hasFooterToolbar: false,
setHasFooterToolbar: (has: boolean) => (state.hasFooterToolbar = has),
});
return () => (
<ProLayout {...state} locale={(i18n: string) => i18n}>
<RouterView />
</ProLayout>
);
},
});
Build project
npm run compile # Build library
npm run test # Runing Test
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].