iMall | 基于Laravel5.2,Vue.js1.0的微信商城,用于熟悉 Laravel、Vuejs、Webpack、Gulp | Router library
kandi X-RAY | iMall Summary
kandi X-RAY | iMall Summary
基于Laravel5.2,Vue.js1.0的微信商城,用于熟悉 Laravel、Vuejs、Webpack、Gulp 的结合使用,已不维护及更新。(1MB单核基础服务器,浏览请耐心等待图片加载...)
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of iMall
iMall Key Features
iMall Examples and Code Snippets
Community Discussions
Trending Discussions on iMall
QUESTION
I'm learning Laravel framework, but I have a weird problem in the routing. For example when I access localhost/iMall it will only show list of files and folders, i should explicitly access localhost/iMall/public and when I access localhost/public/index.php it will got to localhost/index.php showing the index page of WAMP server. And adding any routes is not working for example: in app/http/routes.php i wrote this:
...ANSWER
Answered 2017-Oct-13 at 00:20In laravel 5.4 you should put your route in /routes/web.php
and not /app/http/routes.php
You should als change you Virtual Host configuration on your WAMP Server.
Laravel expects that your Document Root is /public so if you enter localhost is should point to /path/to/laravel_project/public
Now the default in WAMP is that he shows you the WAMP index.php.
Now what you can do it to add a new domain in you hosts file.
C:\Windows\System32\drivers\etc\hosts
and add the flowing line at the end:
127.0.0.1 laravel.dev
Now in you have to add a new Virtual Host on your WAMP Server:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install iMall
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page