Download the PHP package chinloyal/lavuet without Composer
On this page you can find all versions of the php package chinloyal/lavuet. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package lavuet
Laravel + Vue + TypeScript Starter Project (MPA)
Starter project template of full stack web development
Demo
Screenshots of a demo application that uses this template
The live demo can be found here. The repo for the demo can be found here
Features
- Laravel 6.x
- Vue.js 2.5
- TypeScript
- Vuetify (Material Design)
- Reusable dialog
- NProgress on axios request
- Hooks
- Vuex (with secure storage)
- Vuelidate
Installation
With composer
From github
Usage
Development
Production
App Dialog
Firstly include the AppDialog component in your main layout blade file.
Now you can use the dialog from any component by accessing $dialog
on your vue instance.
Example
Available Options on the app dialog
'?' Means optional
Secure Storage
If you have need to store data in local storage simply use the utility provided in the utils folder.
It uses localStorage but encrypts the data stored so it cannot be accessed from the console.
NB: In your .env file for laravel set
MIX_APP_SECRET=my-secret-key
with a strong key.
Hooks
Hooks allow you to enforce rules before you push, commit or even install a package.
There are a few hooks prebuilt you can use in the .hooks
folder. For example you can enforce the use of npm
over yarn
and vice versa in the configure.js file. Next simply run the hook from your package.json preinstall script by adding "preinstall": "node .hooks/frontend/configure.js"
.
Other things that can be enforced are branch names, how up to date the branch is with another branch and even linting.
Note
- This is not an SPA.
- You can use vuetify components in blade files
All versions of lavuet with dependencies
fideloper/proxy Version ^4.0
guzzlehttp/guzzle Version ^6.4
laravel/framework Version ^6.0
laravel/tinker Version ^2.2