for example, have such directory structure:
- root/ --- public/ ------ style.css --- views/ ------ index.html --- index.php in index.php:
require 'views/index.html'; in views/index.html:
<link href="public/style.css" rel="stylesheet"> when editing 'views/index.html' highlights 'public/style.css' unresolved file , doesn't use it's contents autocomplete. how can fix it?
try out.
<link href="../public/style.css" rel="stylesheet"> i think it's expecting better path has.
Comments
Post a Comment