当前位置:网站首页>Real time preview of PHP in browser by vscade
Real time preview of PHP in browser by vscade
2022-06-12 23:53:00 【s3207】
People are writing html Real time preview can be used when , But in PHP It won't work , Although I have recommended “Open PHP/HTML/JS In Browser” This plugin , But there is no real-time preview function , It's very uncomfortable , Then I looked through the Internet and found a solution .
That's using “Live Server”, Maybe you'll say :“ what ? This is not a live preview html Yes, I don't know ? You're not kidding .” Then I can only say that we have less knowledge , The first moment I saw it was unbelievable , It's just that I found this plug-in for Google and Firefox .

Namely “Live Server Web Extension” This plugin , Google browser and Firefox To download .
( Remember to click the text hyperlink to download )
2. Configuration plug-ins .
First we open the plug-in .

The discovery is an interface , Then we just need to configure two addresses .

①“Actual Server Address” Is the address where you access the actual server , Just like in my previous tutorial IIS The configured address , You also use XAMPP What's the server address , As shown in the figure below .

②“Live Server Address” Is to fill in the plug-in you use right click , There is one "Open with live server", Click to open the browser , Top address , As shown in the figure .
![]()
Next we turn on Vscode find Live Server, Open its expansion , Tick the bottom .
The final summary
1. Let's download the plug-in in the browser first .
2. Let's configure the address of the plug-in . The final effect is as shown in the figure .

3. We turn on Vscode Medium Live Server plug-in unit , Open its expansion , Check on , As shown in the figure .

4. We enter your actual access address in the browser , Such as :http://localhost:1553/blog/index.php
After configuration, you can open the browser to test .
边栏推荐
- Tsinghua University image source will cause tensorflow GPU installation failure
- Online examination questions for September examination of financial management
- 1111111111111111111111111111111111111111111111111111111
- Software development tools [3] theoretical basis of software development tools
- Operation of simulation test platform for G3 boiler water treatment test questions in 2022
- Start of u-boot S analysis (III)
- Leetcode 2164. 对奇偶下标分别排序(可以,一次过)
- Enterprise wechat H5_ Authentication, PC website, enterprise wechat scanning code, authorized login
- Introduction to message oriented middleware (message queue)
- Do you really use the buffer buffer in PostGIS?
猜你喜欢

Pytorch loading model error resolution

你真的会用PostGIS中的buffer缓冲吗?

Deep feature synthesis and genetic feature generation, comparison of two automatic feature generation strategies

2022年电工(初级)操作证考试题库及在线模拟考试

Tsinghua-Bosch Joint ML Center, THBI Lab:Chengyang Ying | 通过约束条件风险价值实现安全强化学习

【HCIE论述】组播IGMP-A

妙才周刊 - 5

【Matlab】矩阵

【Matlab】符号计算

机加工行业MES系统模具行业MES系统CNCl中工行业MES系统MES扫码报工MES数据采集
随机推荐
[SciPy optimization tutorial] v. quick solution of univariate function optimization
PMP training organization
SAP UI5 如何通过 manifest.json 文件定义第三方库依赖关系
Why does the PMP certificate need to be renewed and the renewal process?
How to load 100000 pieces of data in leaflet
vs studio_ How to use scanf in 2022
scala中的隐式转换和隐式参数讲解与实践
June 11, 2022 diary: Mr. Wang's spring, mixed in
Introduction to business rules service on SAP Business Technology Platform (BTP)
Is the revised PMP worth testing?
What occupation is suitable for PMP?
Zhengzhou University of light industry -- development and sharing of harmonyos pet health system
KConfig
2022年3月11日记:王老师的春天,奇异的模板模式
Novice must see! How rust beginners write gear smart contracts (1)
Talent Weekly - 5
Day 3 of jsbom and DOM learning
Distributed lock implementation
The most complete preview! Huawei cloud wonderful agenda collection
最全预告!华为云精彩议程火速收藏