-
-
Notifications
You must be signed in to change notification settings - Fork 178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WIP] Docs for Sage 9 #30
Conversation
Thought I'd throw it here rather than an issue (hope that's ok)-- https://github.com/roots/docs/blob/sage-9/sage/theme-development-and-building.md To clear up confusion, when adding third party packages you omit the extension. So Feel free to delete this post once acknowledged. |
Remove file extension from slick js import. (File extension causes 5:8 error Unexpected use of file extension "js") Update external js dependencies example to reflect the current file structure. Update scss dependencies to reflect the current file structure
Update theme-development-and-building.md doc
Added reminder to change 3rd party packages relative paths. Without those paths `yarn run build:production` will fail since Webpack can't find the font files.
Deleted '!defaults' and formatted
Sage 9 - 3rd party package's relative paths in production
Add front-end package manager history
Changed Theme Structure from 8.5.1 to 9-beta3
updated theme structure chart
Version in sync with main README.md in terms of requirements. Installation command is more precise for the current situation (until 9.0.0 comes out).
Update theme-installation.md
Add image in CSS example
typo did you mean main.scss?
Update theme-development-and-build.md
post-launch
In your Blade templates for pages you can now use
{{ $header_image }}
and{{ $header_content }}
to output the data.Controller for Sage 9, written by Darren Jacoby, offers another method for passing data to templates. The Controller plugin works off of files in the
app/controllers/
directory.