-
Notifications
You must be signed in to change notification settings - Fork 94
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
Loading fonts from UI package #157
Comments
Hey @dagatsoin, thanks a lot for sharing! :) To solve it for now: const {
// ...
file
} = require('webpack-blocks')
module.exports = createConfig([
// ...
file('application/font')
]) But I totally agree, the documentation must be improved, especially at this point. To be fair, the That's why your feedback is so important 😉 |
thx I will try this. BTW the base config is from @foxbunny from https://github.com/foxbunny/vue-ts-sandbox/ |
What would be the equivalent of this config?
|
That would be url('application/font', {
limit: 10000,
name: utils.assetsPath('fonts/[name].[hash:7].[ext]')
}) |
I am new to webpack config and wonder how to load fonts for package like vue-material?
Here is my webpack.conf.js
The text was updated successfully, but these errors were encountered: