Comments (1)
Hi! For static assets, you don't need to expose them through the module system per se. You can put them somewhere under the resources/public/
directory, then you can reference those files from your routes. e.g. if you put a file at resources/public/images/hello.jpg
, you could then include [:img {:src "/images/hello.jpg"}]
in one of your routes.
from biff.
Related Issues (20)
- Unable to create new project HOT 2
- Get started instructions not working? HOT 1
- `secret.env` values are inconsistent in dev/prod when using quotes HOT 10
- Add docs for fixing UnsatisfiedLinkError
- Update docs to use `bb` folder instead of `tasks` HOT 1
- Sometimes auth plugin blocks on signin HOT 1
- Sometimes the first bb deploy doesn't work without -f HOT 3
- (Website) Hero section is fixed on mobile and obstructs view when scrolling HOT 2
- Error while executing task: css HOT 3
- Signin via new email yields Sign-up-like email but doesn't create session
- How to use Biff with datomic? Any example? HOT 3
- [feature suggestion] biff libraries repository HOT 2
- [Docs] Broken links on Should you use Biff article HOT 1
- Can't start `bb dev` on a fresh install HOT 7
- Warn and log out user if deleted HOT 5
- Biff example site does not load: java.lang.ArithmeticException: long overflow HOT 2
- `install-tailwind` fetches the ARM binary on a x86 Mac HOT 2
- Document writing a test that roundtrips to xtdb? HOT 2
- Execution error (NullPointerException) at com.biffweb.tasks/dev (tasks.clj:290). HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from biff.