Basic Vue Router Example using Official Vue Router plugin
A Pen by Swapnil Bhavsar on CodePen.
Basic Vue Router Example using Official Vue Router plugin
A Pen by Swapnil Bhavsar on CodePen.
server { | |
# Listen ports | |
listen 80; | |
listen [::]:80; | |
# Make site accessible from http://grav.dev/ | |
server_name grav.dev www.grav.dev; | |
root /var/www/grav.dev; | |
index index.html index.htm index.php; |
upstream fastcgi_backend { | |
server unix:/var/run/php5-fpm.sock; | |
} | |
server { | |
listen 80; | |
## Ex. yourdomain.com | |
server_name mage.dev; | |
## Define project root | |
set $MAGE_ROOT /var/www/magento2; |
## Set timezone. | |
## Find your time zone here http://php.net/manual/en/timezones.php | |
date.timezone = Asia/Kolkata | |
## Maximum Execution Time. | |
max_execution_time = 18000 | |
## Maximum Input Time. | |
max_input_time = 6000 |
## Maximum Execution Time. | |
max_execution_time = 18000 | |
## Maximum Input Time. | |
max_input_time = 6000 | |
## Increase Memory Limit (Set more that 768M). | |
memory_limit = 1024M | |
## Increase Maximum size of post data. |
<VirtualHost *:80> | |
DocumentRoot /var/www/magento2 | |
ServerName mage.dev | |
ServerAlias mage.dev | |
<Directory /var/www/magento2> | |
Options Indexes FollowSymLinks MultiViews | |
AllowOverride All | |
</Directory> | |
</VirtualHost> |
server { | |
listen 80; | |
server_name example.come; | |
root /var/www/example.com; | |
location / { | |
index index.html index.php; | |
try_files $uri $uri/ @handler; | |
expires 30d; |
/.buildpath | |
/.cache | |
/.metadata | |
/.project | |
/.settings | |
atlassian* | |
/nbproject | |
/sitemap | |
/.idea | |
/.gitattributes |
<?php | |
/** | |
* Config for PHP-CS-Fixer ver2 | |
*/ | |
$rules = [ | |
'@PSR2' => true, | |
// addtional rules |
<?php | |
/** | |
* Config for PHP-CS-Fixer ver2 | |
*/ | |
$rules = array( | |
'@PSR2' => false, | |
// addtional rules |