Comments (2)
Thanks @BenLune. You don't have to rename all those URLs. In the vite.config.ts
there is publicDir: 'src/assets'
, which points to where your assets are copied to at the root. If you want to have an assets folder inside there, create an assets
folder and put your files in there.
Another option would be to use publicDir: 'src/public
, and put your assets in src/public/assets
. That way it's a little more clear and not a double folder.
from analog.
OK, thanks @brandonroberts !
from analog.
Related Issues (20)
- Prerender content routes based on files in directory HOT 5
- Automatically exclude spec.ts files from Nitro server bundling HOT 1
- Incorrect coverage reports HOT 1
- Remove script from static build HOT 1
- Provide AsciiDoc Renderer HOT 2
- [Nx][beta 2] 403 errors on main.ts and styles.css HOT 1
- ERR_MODULE_NOT_FOUND - api-middleware
- Feat: Single package HOT 1
- withMarkdownRenderer: allow to configure / pass extensions HOT 3
- This project SCREAMS: leave us alone, go use React or Qwik or whatever else HOT 3
- Vitest: TypeError: `it.skip` is not a function HOT 10
- Vitest: Error: Failed to resolve import "..." from "...". Does the file exist? HOT 1
- NG0912: Component ID generation collision detected warning HOT 3
- mermaid in marddown file not rendered HOT 4
- [Bug] Failed to parse Markdown file, `mdast-util-definitions` expected node HOT 7
- Firebase Functions doesn't work out-of-the-box HOT 2
- Analog Language Tools and VS Code plugin HOT 12
- Generating page converts "/" into "," HOT 6
- Environment Files HOT 3
- Incremental static regeneration 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 analog.