Comments (2)
Hey,
This module uses Nuxt Assets System to load the sprite file and assets serialized by webpack. To avoid this long hashed names and uses meaningful name, we can add name option into fileLoaderOptions
const fileLoaderOptions: any = {
name: 'sprite/[name].[contenthash:6].[ext]'
}
from svg-sprite.
hi.. well this does not help.. if i use the default settings the linked file still contains hashes but the generated files don't.. so the component is than still linking to a file that does not exist.
I really don't min if there is a has or not.. the problem ist that no matter what configuration i make the generated files do not exist only the not hashes ones that the component does not link to.
from svg-sprite.
Related Issues (20)
- Dynamic class binding
- Update dependencies svgo [CVE-2021-3803] HOT 2
- Custom input path outside the nuxt 3 app doesn't work HOT 2
- Non-whitespace before first tag HOT 7
- 'elementClass' does not exist in type 'Partial<ModuleOptions>' HOT 1
- Multiple values in svgSprite input property
- Need to rebuild nuxt if i change/add SVG HOT 1
- [Feature request] Add support for Nuxt layers
- Module Org Migration
- Hover issue?
- Config is missing properties
- [Bug] Input/Ouput properties are not respected HOT 2
- elementClass not supported HOT 1
- svg mask is not working
- Question about reducing size of exported svg file
- Include `icons.svg` inline
- Support "custom" `srcDir` HOT 1
- How can I remove the 'fill-opacity', 'opacity' attributes?
- I have error on nuxt 3.10.0 HOT 6
- how can I get the names of all the icons in a folder?
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 svg-sprite.