How to create initial MIP configuration and template files

藏色散人
Release: 2018-11-01 17:25:35
Original
4267 people have browsed it

This article mainly introduces you to the preliminary use of MIP, that is, how to create mip configuration files and mip template files.

MIP is the mobile web accelerator. In the previous article, I have introduced to you how toinstall MIP.

Below we will introduce to you the method of creating mip initial configuration file and template file based on specific pictures and texts.

Here we have installed mip, and we can check the mip version through the mip -v command, as shown below.

How to create initial MIP configuration and template files

First we need to create a development folder through mkdir mip-html. Here our folder name is mip-html.

How to create initial MIP configuration and template files

Then we can dir out our folder directory, as shown in the figure below, the mip-html folder has been created.

How to create initial MIP configuration and template files

Then create an initialization configuration file through the command mip init (no need to change the content).

How to create initial MIP configuration and template files

How to create initial MIP configuration and template files

Then create a template file through the mip add mip1.html command. Here we create an initial template file named mip1.html.

How to create initial MIP configuration and template files

#The mip1.html just created contains the following content.

How to create initial MIP configuration and template files

Note: The style tag here must be placed in the middle of the head, and there can only be one.

This article is about the specific method of creating the initial mip configuration file and template file. In later articles, we will continue to introduce the use of mip in detail. You can continue to pay attention to the PHP Chinese website. I hope Help those in need!

The above is the detailed content of How to create initial MIP configuration and template files. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
MIP
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!