In the company's project, the view layer including css and js styles are written to the application directory. I would like to ask you all, how to set up the configuration file and can these style files be used?
小伙看你根骨奇佳,潛力無(wú)限,來(lái)學(xué)PHP伐。
No configuration file required, write directly in the view
require(__DIR__ . '/..../xxxx.css');
Like this
Of course, there is also a method based on server configuration. In the project domain name configuration, make address aliases for CSS/JS and images, such as mapping http://xxx/css/*
to the css of the project
application
Table of contents.