How do you reference a image in the public folder from css
Hi, I am making a theme and I need to reference an image in my public folder called background.jpeg from my css to put it has my background and I keep getting errors? How should I proceed?
2 Replies
Try using
<style/>
tags in dashboard: wrapper
instead of using dashboard: css
This should be documented on in the future; Dashboard css is bundled in React, which dashboard wrapper is not.
1. Create a file ending in .blade.php
: for example, wrapper.blade.php
2. Assign the file to dashboard: wrapper
3. Add your stylesheets, wrapped between <style/>
tags.
4. Build your extensionthanks