-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Open
Description
Feature request
Currently we can add images to our documents. But would be great to also be able to add PDF documents.
What problem does this feature solve?
We could add a PDF to our documents - which are common when creating knowledgebase style websites
How should this be implemented in your opinion?
In createBaseConfig.js , change the rule so it transfers PDFs to the assets as well as images
(Not tested this, but think that that is the code that needs extending)
config.module
.rule('images')
.test(/\.(png|jpe?g|gif)(\?.*)?$/)
.use('url-loader')
.loader('url-loader')
.options({
limit: inlineLimit,
name: `assets/img/[name].[hash:8].[ext]`
})
Are you willing to work on this yourself?
No
christonomous, utensil, Zyten, chryw, nuric and 2 more
Metadata
Metadata
Assignees
Labels
No labels