Play with DWZ (1) --- How to Use dwz and dwz in the project ---

Source: Internet
Author: User

Play with DWZ (1) --- How to Use dwz and dwz in the project ---

Recently, I have been looking for a completely open-source web Client framework. I have seen dwz. Although I don't know how it works, it still supports domestic production. Let's take a look at it first. This article describes how to use the dwz framework in the project.

Download dwz: https://code.csdn.net/dwzteam/dwz_jui first

After the package is downloaded, decompress the package.


Next, create a folder named dwz under the webroot of your web project, and copy the content to it.


Copy the index.html file in the dwzfolder to the folder on your write page,


Open the index file and modify the path of the referenced file, for example:

<Html> Note that the path for referencing dwz. frag. xml in the js Code should also be changed. After the modification is successful, deploy and run it in tomcat. The page is displayed as follows:

Index.html is generally the first page of the project. You can also change the name of the page. js and css files in the page are used in the project. You do not need to reference them again on other pages, later, the interaction with the server is only data interaction. Other pages only need page fragmentation, which is part of <body> </body>.


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.