Configuration
You can create a custom configuration file vue-admin-front.config.js
within your project home directory to extend or replace default values.
// vue-admin-front.config.js
// require default configuration
const base = require('vue-admin-front/config.default');
module.exports = {
...base,
{ /* your configuration is here */ },
};
All options and their descriptions are available in the default configuration file itself.
Webpack
Default webpack configuration webpack.config.js
(here) supports the following assets:
- Pug templates
- Vue.js single file components
- Font files (woff, woff2, eot, otf, ttf)
- Images (jpg, png, gif, svg)
- Documents (pdf, doc[x], ppt[x], rtf, txt)
- CSS
- Stylus
- Less
Since version 1.3.0
there is no JavaScript sources loader included by default.
See webpackConfigModifier
in the default configuration if you want to extend default Webpack configuration.