webpack
webpack copied to clipboard
A full-featured Webpack + vue-loader setup with hot reload, linting, testing & css extraction.
prod.env.js ``` 'use strict' module.exports = { NODE_ENV: '"production"', ROOT_API: '"/api"' } ``` config/index.js ``` 'use strict' // Template version: 1.3.1 // see http://vuejs-templates.github.io/webpack for documentation. const path = require('path')...
Setting publicPath of webpack.conf to '/' is unnecessary. This will break the app if served form local file system, or a PhoneGap package.
Signed-off-by: Pazekal90 Just fixed that "version" typo
Ive changed assetsPublicPath to a relative path. ``` assetsPublicPath: './', ``` All works fine except links to font files from css are broken. I've added fonts to my project under...
Just opening a new issue confirming that bug #208 still exists and @githoniel's [solution](https://github.com/vuejs-templates/webpack/issues/208#issuecomment-279959781) is still necessary today. This has all to do with using relative paths in CSS files....
ERROR in ./src/app.js Module not found: Error: Can't resolve 'sass-loader'
No matter how I try to import .css file with fonts on app.vue it doesn't work. Im following this example from vue.app from [https://github.com/vuejs-templates/webpack/issues/604#issuecomment-287620657](https://github.com/vuejs-templates/webpack/issues/604#issuecomment-287620657): ``` @import 'src/assets/css/app-common.css'; ``` When I...
Just installing a new project with `vue init webpack ` and I'm getting all of the following warnings: `npm WARN deprecated [email protected]: Deprecated. Please use https://github.com/webpack-contrib/mini-css-extract-plugin` `npm WARN deprecated [email protected]:...
Hello there, I can compile my javascript files and vue components file but it change does not appear on the server! it remains as it is! I am sure that...
Hi all, I am performing an issue when we trying load the sass files inside "~vuetify/src/styles/main.sass". I tried to adjust the web-pack following this recommendations **(the new version does not...