Commit Graph

14 Commits

Author SHA1 Message Date
Pooya Parsa
87172100c7 [vue-loader] allow using builtin extractCSS functionality
This option is disabled by default and won't affect exiting users.
However users can easily enable this option using `nuxt.build.extractCSS`

Implementation is according to:
- https://github.com/vuejs/vue-loader/tree/master/docs/en/configurations
- https://ssr.vuejs.org/en/css.html
- https://github.com/vuejs/vue-hackernews-2.0/tree/master/build
2017-04-30 16:28:25 +04:30
Mihal Malostanidis
5e21a057aa Fix Ctrl-C Ctrl-V typo in comments 2017-04-25 14:03:26 +03:00
Sébastien Chopin
e69aa7c401 Simplify offline plugin 2017-04-17 15:27:32 +02:00
Sebastien Chopin
b5330a063d Use cheap-module-source-map 2017-04-14 16:31:31 +02:00
Sébastien Chopin
89ed672f10 Add common pre-processors in nuxt 2017-03-25 03:38:19 +01:00
Sébastien Chopin
7333e7a758 Update webpack perfs hints 2017-03-24 16:12:59 +01:00
Sébastien Chopin
221bcb5e33 Fix tests 2017-03-24 16:11:56 +01:00
Sébastien Chopin
d4db5792a4 Improve webpack config
- Remove filenames.css
- Add FriendlyErrorsWebpackPlugin()
- Add sourceMaps for UglifyJS
- Minify CSS for server-rendered pages
- Add css-loader for imports
2017-03-24 01:28:04 +01:00
Sébastien Chopin
64f83b71c3 Vue 2.2 and styles included 2017-03-22 15:47:34 +01:00
Sébastien Chopin
e8056f67eb Fix url starting with double slash 2017-03-16 18:52:38 +01:00
Sébastien Chopin
2bb8f1fd58 Use vue-app preset for babel 2017-02-17 16:13:51 +01:00
Sébastien Chopin
376362ec39 Handle publicPath 2017-02-16 18:16:00 +01:00
Sébastien Chopin
5cd0827b20 ~store is now an alias for the store instance 2017-02-01 00:45:30 +01:00
Sébastien Chopin
ef4065b350 Move build folder inside lib 2017-01-19 16:25:32 +01:00