search

Home  >  Q&A  >  body text

Page style issues

I recently followed the video to learn the self-writing framework, and rewrote the blog I learned from the teacher through the framework. During debugging, the page style was lost. The details are as follows: the routing is URL/controller/method, and the local test only inputs The page style is normal when www.blog.com (default controller index/method index) is entered, and the style is also normal when www.blog.com/index (/default method index) is entered.

海风海风1916 days ago1005

reply all(2)I'll reply

  • 天蓬老师

    天蓬老师2019-10-08 17:12:05

    1. Whether the Index controller has index();

    2. Check the default items in the configuration file

    reply
    0
  • 海风

    The index controller has an index method, and the page data can be output. Just lose the CSS style. The same applies to other controllers and methods.

    海风 · 2019-10-09 09:15:02
  • Cancelreply