I didn't find anything in docs...
For example:
const { data } = axios.get("/statics/markdown-examples/example.md");
Thanks!
This question belongs to Axios plugin not to Quasar Framework. IMO, Quasar framework is not forcing you to use axios. I don't think its a bug.
Hi,
There are two scenarios:
import(`!raw-loader!src/statics/markdown-examples/example.md`)
.then(content => {
// raw file content
console.log(content.default)
})
If you also want to get that md file compiled, you can directly use a webpack loader for markdown (add it a rule for md files that uses the loader in the Webpack config through quasar.conf.js > build > chainWebpack/extendWebpack()) -- which also has the benefit of doing this at build time rather than at runtime (and runtime assumes you need to load the md parser on the client bundle too).
Most helpful comment
This question belongs to Axios plugin not to Quasar Framework. IMO, Quasar framework is not forcing you to use axios. I don't think its a bug.