hero

Based on larave8 + vue3 mall system

Quick start →

Laravel + Vue

Concise and elegant web development framework

Go online easily

Quickly deploy and easily own your own mall

Rapid development

Clear file structure and clear structure welcome pr

License Apache2.0 Laravel Laravel Laravel Laravel

Clear structure and Rapid generation

class NoticesController extends Controller
{
    protected $modelName = 'Notice';
    protected $setUser = true;
}
// Add, delete, modify and query the list page quickly without redundant code
export default {
    components:{tableView},
    setup(props) {
        const {proxy} = getCurrentInstance()
        const options = reactive([
            {label:'Your title',value:'name'},
            {label:'Your tag',value:'tag',type:"tags"},
            {label:'Create time',value:'created_at'},
        ]);

        // 搜索字段
        const searchOptions = reactive([
            {label:'Your title',value:'name',where:'likeRight'},
            {label:'Your tag',value:'tag',where:'likeRight'},
            {label:'Create time',value:'content',where:'like'},
        ])

        // 表单配置 
        const addColumn = [
            {label:'Your title',value:'name'},
            {label:'Your tag',value:'tag'},
            {label:'Create time',value:'content',type:'editor',span:24,viewType:'html'},
        ]
        const dialogParam = reactive({
            rules:{
                name:[{required:true,message:'Cannot be empty'}]
            },
            view:{column:addColumn},
            add:{column:addColumn},
            edit:{column:addColumn},
        })
        return {options,searchOptions,dialogParam}
    }
}

Exchange learning

QQ group: 1062159788

Email: bishashiwo@gmail.com