Download the PHP package samsonasik/mezzio-vue without Composer
On this page you can find all versions of the php package samsonasik/mezzio-vue. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download samsonasik/mezzio-vue
More information about samsonasik/mezzio-vue
Files in samsonasik/mezzio-vue
Package mezzio-vue
Short Description Laminas mezzio skeleton with Vue.js Integration
License BSD-3-Clause
Homepage https://github.com/samsonasik/mezzio-vue
Informations about the package mezzio-vue
Example Using Vue.js in Mezzio application
Version ^0.1.0 is for Vue 3 usage in Mezzio application
For Vue 2 usage in Mezzio application, you can use version ~0.0.3
Introduction
A Mezzio 3 Skeleton Application with Vue.js integration.
Features
- SPA application with Vue Router with cached pages after visited.
- Using server side template from Mezzio, compiled with
Vue.compile()
in Vue.js component'srender()
. - Using Vuex for state management library, combo with sessionStorage on portfolio page.
Setup
1. Run composer create-project command:
2. Run PHP Development server
3. Open web browser http://localhost:8080
Production
For deploy to production purpose, it has webpack.config.js
in root directory that when we run webpack
command, we can get public/js/dist/bundle.js
after run it. If you don't have a webpack
installed yet in your system, you can install nodejs and install webpack
and webpack-cli
:
So, we can run:
After it generated, we can run the following commands to get production
environment by default:
In default.phtml
, we have a isDevelopment()
view helper check to use js/app.js
when on development, and use /js/dist/bundle.js
on production when exists.
that will automatically take care of that.
All versions of mezzio-vue with dependencies
laminas/laminas-component-installer Version ^2.7
laminas/laminas-config-aggregator Version ^1.7
laminas/laminas-diactoros Version ^2.9.2
laminas/laminas-servicemanager Version ^3.11.2
laminas/laminas-stdlib Version ^3.7.1
mezzio/mezzio Version ^3.10.0
mezzio/mezzio-helpers Version ^5.8
mezzio/mezzio-laminasrouter Version ^3.4.0
mezzio/mezzio-laminasviewrenderer Version ^2.6