TP5.1: Introducing external resources into the framework (Css/js/font file)

Source: Internet
Author: User

In order to make our frame form more attractive, we need to add bootstrap and JQ files to the framework

1, through the bootstrap and JQ official website for the download of relevant documents

(1) bootstrap:https://v3.bootcss.com/getting-started/#download

(2) jq:http://jquery.com/

2. Put the jq file after download into the bootstrap/js folder

3. Copy the JS, CSS, and font folders in bootstrap to the public/static folder in TP5

  

4. Make a call to the related file in the view file:

5, after the call, we can use it, the use of the way is not only very simple, and the page will become concise and good-looking OH

Above

END

TP5.1: Introducing external resources into the framework (Css/js/font file)

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.