Download the PHP package tuandm/laravue-core without Composer
On this page you can find all versions of the php package tuandm/laravue-core. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download tuandm/laravue-core
More information about tuandm/laravue-core
Files in tuandm/laravue-core
Package laravue-core
Short Description A Laravel package to provide a beatiful datashboard built by VueJS and Element-UI
License MIT
Informations about the package laravue-core
Laravue Core
The Laravel package to provide core functionalities for a beautiful Laravel dashboard
Demo: https://core.laravue.dev
Getting Started
Laravue provides necessary Element UI and rich features for an enterprise admin dashboard, therefore it's highly recommended to use for starting a project. The following instructions are for intergrating core features of Laravue to existing Laravel project or to experiement with it.
Prerequisites
Laravue is built on top of Laravel and so you have to check Laravel's system requirement and make sure your your NodeJS is ready before starting.
Installing
Install laravue-core package with composer
1.a Setup Laravue with all-in-one command
This command will do these steps:
- Setup JWT secret and API endpoint
- Publish Laravue vendor packages/assets
- Install NPM dependencies
- Create .babelc file (if it doesn't exist)
- Setup webpack.mix.js (please backup this file to make sure the current setting will not be lost)
1.b Manual setup
It's recommended to use laravue:setup command. If you want to manually install, you can do following setps:
.env file
Generate JWT secret for authentication
Add these two lines to .env
file
Publish vendor packages/assets
Add NPM dependencies
Please check package.json sample
Webpack.mix.js configuration
We need to modify the webpack.mix.js to work with Laravue package, please refer to webpack.mix.js sample
Or simply run this command to generate recommendation version.
Babel
Laravue requires babel to build the packages. Usually, .babelrc
will be generated with here
2. Config API guard
Open config/auth.php
and modify as below
Please refer to auth.php sample
3. Database
Laravue core requires users.role
field, consider to run migration if neccessary
4. Sample data
This database seeder will insert 3 test users, you can ignore this step if you have data already.
Start development
Build production
Running the tests
- Tests system is under development.
Built with
- Laravel - The PHP Framework For Web Artisans
- VueJS - The Progressive JavaScript Framework
- Element - A Vue 2.0 based component library for developers, designers and product managers
- Vue Admin Template - A minimal vue admin template with Element UI
Contributing
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
Versioning
We use SemVer for versioning. For the versions available, see the tags on this repository.
Authors
- Tuan Duong - Initial work - tuandm
See also the list of contributors who participated in this project.
License
This project is licensed under the MIT License - see the LICENSE.md file for details
Acknowledgements
- Laravue - A beautiful dashboard for Laravel built by VueJS and ElementUI
- vue-element-admin A magical vue admin which insprited Laravue project
- tui.editor - Markdown WYSIWYG Editor
- Echarts - A powerful, interactive charting and visualization library for browser