Commit Graph

19 Commits

Author SHA1 Message Date
Pooya Parsa
a318144b9a reorder imports 2017-06-13 01:02:34 +04:30
Sébastien Chopin
8853b7af04 Remove build.loaders option 2017-06-12 21:34:45 +04:30
Pooya Parsa
8fe9380df9 refactor into components 2017-06-11 18:47:36 +04:30
Mouti'a Benachour
923f907442 call .nuxt directory buildDir 2017-05-24 00:52:48 +01:00
Sébastien Chopin
4cd48f3927 Support ts 2017-05-20 11:36:35 +02:00
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