Sébastien Chopin
1fb2520eec
example: Update package.json
2018-08-20 15:02:55 +02:00
Sébastien Chopin
de9641b94c
example: Add README
2018-08-20 15:02:04 +02:00
Sébastien Chopin
fe41d4b75b
example: Add routes-meta example
2018-08-20 14:59:21 +02:00
Sébastien Chopin
4c18320da1
example: Update example to make it easier to understand
2018-08-17 08:29:58 +02:00
Junya Kono
7161c6f191
Add JWT example source code ( #3746 )
...
* Add JWT exmaple source code
* add sample code
* [fix] eslint
* Update index.js
* [fix] rename middleware\ / to middleware/
* Add default value for demo
2018-08-17 07:49:06 +02:00
Nathan Chase
5b98c1ccee
updated style-resources-loader to version 1.2.1, added "css" as supported filetype in docs ( #3738 )
2018-08-16 14:48:26 +02:00
Anthony Fu
0dff1b8fe9
feat: support server
option in nuxt.config.js
to set PORT and HOST ( #3701 )
...
* feat: support `server` option in `nuxt.config.js` to set PORT and HOST
* lint
* change the conifg priority to `argv > nuxt.config.js > env.NUXT_PORT > env.PORT > package.json > default`
* check for `options.server`
2018-08-12 15:26:30 +01:00
Alexander Lichter
aa09a20ce8
examples: Add info for with-sockets ( #3691 )
...
* examples: Add info for with-sockets
* fix: typo
2018-08-11 18:10:43 +01:00
Alexander Lichter
b2d608746d
lint: no-var ( #3681 )
2018-08-10 20:46:53 +01:00
Clark Du
9b060f3be1
feat: upgrade to Babel 7 ( #3667 )
2018-08-10 14:45:58 +01:00
Alexander Lichter
52d9629bac
eslint: Prefer const over let ( #3650 )
2018-08-08 12:54:05 +02:00
Jonas Galvez
3f1d634fb7
Consistent parens in arrow functions ( #3630 )
...
* Minor consistency enhancements
* Arrow parenthesis consistency
* Change linting rule
* Fix typo
* Update .eslintrc.js to only require parens for blocks
* Update style according to brace-only suggestion
* Remove --fix from lint
* Tweak no-loading time (failing test)
* Tweak no-loading time (failing test) (2)
* Tweak no-loading time (failing test) (3)
* Tweak no-loading time (failing test) (4)
* Tweak no-loading time (failing test) (5)
2018-08-06 02:12:44 +02:00
Jonas Galvez
0e42e98751
Add loading: false
option to pages ( #3629 )
...
* Add hasManualLoading
* Add hasManualLoading (2)
* Debugging
* Debugging (2)
* Change 'manual' to false
* Add custom-page-loading example
* Add custom-page-loading example (2)
* Changed approach
* Added custom-page-loading/README.md
* Change running loading time in about.vue
* Patch loadAsyncComponents
* Added final page
* Changed approach (2)
* Fixed example
* Fixed example (2)
* Fix example package name
* Linting
* Improved examples (more to the point)
* Linting (2)
* Fix typo
* Adjust indentation
* Added noloading.vue to basic fixture
* Added noloading tests
* Linting (3)
* Debugging test
* Linting (4)
* Debugging test (2)
* Debugging test (3)
2018-08-05 23:56:49 +02:00
Clark Du
859d632771
misc: fix typo
2018-07-26 17:01:01 +01:00
Alexander Lichter
095404a251
refactor: change function calls when arity is one ( #3563 )
2018-07-20 16:42:31 +01:00
Clark Du
faa069df49
example: update custom-build
2018-07-18 17:16:01 +01:00
Clark Du
2c92fddbdc
refactor: support esm in internal module ( #3551 )
2018-07-18 17:14:08 +02:00
Jon Ege Ronnenberg
c3e51a05af
Updated Webworker example to work with nuxt.js 2.0 ( #3531 )
...
In response to @husayt's [comment](https://github.com/nuxt/nuxt.js/pull/3480#issuecomment-404150387 ).
HMR now works.
2018-07-18 12:15:37 +01:00
Clark Du
9afd6a55dd
refactor: obselete AggressiveSplittingPlugin
2018-07-17 12:13:06 +01:00
Clark Du
2b5c367efa
refactor: use eslint-plugin-vue instead of eslint-plugin-html ( #3517 )
2018-07-12 14:03:50 +02:00
Vyacheslav Bikbaev
159021eabe
i18n example fix ( #3482 )
...
Today I was implementing an i18n according to this example in one of my projects. Unfortunately, current example fails if (for example) our `defaultLocale` is `en` and our url is `example.com/en/` or `example.com/en/news`: middleware redirects into `example.com//` and `example.con//news` respectively.
I've fixed the example (not sure if it is the most elegant way to do it though), so it replaces `/en/` with `/`.
2018-06-27 08:14:04 +02:00
Jon Ege Ronnenberg
1b46a95b06
Webworker ( #3480 )
...
* added missing eslint-loader that prevented the example to run and changed freeWorker to terminate a worker and create a new since we can not really free a worker
* proper remove long running worker from longRunningWorkers array when done
* polish web-worker example
set nuxt to 'latest' version
this will change
this will also change
2018-06-26 12:33:51 +02:00
Miljan Aleksic
dd9995bf3a
add with-vuikit example
2018-04-21 13:19:58 +08:00
Clark Du
3b4955152e
misc: use nuxt-edge in partial examples
2018-04-12 18:25:44 +08:00
Clark Du
eff203740d
misc: update vuetify example
2018-04-09 16:23:48 +08:00
Clark Du
9b9c1264c6
fix: with-vuetify error
2018-04-09 16:05:20 +08:00
Clark Du
7a7239d35d
refactor: ava test
2018-04-08 20:16:20 +08:00
Sébastien Chopin
98fd8637ff
Merge pull request #3151 from polyglotm/dev
...
refactor(examples/with-ava): replace 'nuxt.renderAndGetWindow' -> 'JS…
2018-04-08 13:58:58 +02:00
Quique Fdez Guerra
53a007c27c
Exclude some folders
...
Fix #3164 thanks to @bigskyrider
2018-04-02 17:56:00 +02:00
JaeyoungLee(polyglot.m)
2fdd70ab3f
refactor(examples/index.test.js): refactor lint error
2018-03-29 21:38:38 +09:00
JaeyoungLee(polyglot.m)
2c33641b9f
refactor(examples/with-ava): replace 'nuxt.renderAndGetWindow' -> 'JSDOM'
...
detail:
1. 'beforeAll' no longer support
change to 'test.before'
2. renderAndGetWindow
const window = await nuxt.renderAndGetWindow('http://localhost:4000/ ')
does not return 'window'.
if url change to real server return window
but test server just return html.
so change to JSDOM way.
2018-03-29 15:38:08 +09:00
Clark Du
919e3e7f80
refactor: remove duplicate loader
2018-03-22 20:30:23 +04:30
Clark Du
55dd9e76e2
refactor: enable lint in storybook
2018-03-21 09:52:08 +08:00
Sébastien Chopin
e5a516bfaf
Merge pull request #3044 from dotnetCarpenter/webworker
...
web worker example
2018-03-19 19:00:50 +01:00
Clark Du
6cd7f04a4e
refactor: rename examples
2018-03-19 10:41:46 +08:00
Pooya Parsa
ed22e78a75
basic migration to jest
2018-03-18 23:01:32 +03:30
dotnetCarpenter
1ef0286e9a
added missing eslint-plugin-vue - fixes #3045 and CI tests
2018-03-18 01:52:06 +01:00
dotnetCarpenter
cd9a6c2c05
web worker example
2018-03-18 01:45:52 +01:00
Pooya Parsa
ed5bfacb4d
eslint: fix import/order
2018-03-16 23:22:17 +03:30
Pooya Parsa
53e98a958c
feat: rewrite core to esm
2018-03-16 19:42:06 +03:30
Clark Du
78aac2df26
deprecate: remove nuxt.plugin
2018-03-15 17:49:14 +08:00
Sébastien Chopin
3b7f23afb6
Merge pull request #2901 from nuxt/feat/webpack4
...
webpack 4 upgrade
2018-03-14 15:20:57 +01:00
Jakub Kotek
b040777ac5
Remove ignored postcss options
...
Info about ignoring the postcss option when the postcss.config.js file is present.
https://nuxtjs.org/api/configuration-build#postcss
2018-03-13 13:49:38 +01:00
Rick Bolton
ece61acbe1
Include components for finding used classes
2018-03-12 13:30:39 +00:00
Pooya Parsa
b8f8f18384
optimize webpack
2018-03-12 00:58:56 +03:30
Alexander Lichter
fdc6716df4
Whitelist nuxt-progress class for progress bar ( #2995 )
...
* Whitelist nuxt-progress class for progress bar
* Fix linting issue
2018-03-12 00:20:39 +08:00
Sébastien Chopin
b2044c85ac
Merge pull request #2942 from Ffloriel/with-purgecss
...
Add example with-purgecss
2018-03-11 12:37:04 +01:00
Ffloriel
a2e24e6710
fix lint error
2018-03-11 11:04:44 +00:00
airyland
86473aa17f
feat: add vux example
2018-03-09 18:07:47 +08:00
Ffloriel
b5e2b585fe
with-purgecss
...
- add example with purgecss and tailwindcss
2018-03-03 23:32:41 +00:00
Clark Du
03f89421c2
fix: i18n lint issue
2018-03-01 21:03:36 +08:00
Philo van Kemenade
a694f31117
fetch default locale from i18n.fallbackLocale
...
Not all projects have 'en' as their default locale. It would be nicer to fetch a default locale from the `fallbackLocale` set on the i18n plugin, rather than hard coding it in middleware.
2018-02-28 22:51:58 +00:00
cinwell.li
6c8fcbdbd7
example: upgrade element-ui
2018-02-28 11:15:13 +08:00
cinwell.li
257f9bb62c
example: upgarde element-ui
2018-02-28 11:12:31 +08:00
cinwell.li
757080e87d
example: upgrade element-ui
2018-02-28 11:11:15 +08:00
Sébastien Chopin
d2f14e3e9c
Update nuxt.config.js
2018-02-20 12:56:39 +01:00
Erik Campobadal
fc94bce2a6
Update nuxt.config.js
2018-02-19 19:36:45 +01:00
Sébastien Chopin
c9598993c5
Update README.md
2018-02-06 13:20:38 +01:00
HG
bc4140a46e
updated readme on running storybook with nuxt
...
detailed description on running storybook with vue
2018-02-06 12:14:28 +00:00
Sébastien Chopin
3806160796
example: Update storybook example
2018-02-06 12:56:28 +01:00
HG
3990498dd3
Update README.md
2018-02-06 09:35:53 +00:00
Huseyn Guliyev
da2a9ac569
fix eslint issues
2018-02-06 03:06:45 +00:00
Huseyn Guliyev
cdba427776
more cleanup
2018-02-06 02:52:15 +00:00
Huseyn Guliyev
500da0804e
cleanup
2018-02-06 02:44:22 +00:00
Huseyn Guliyev
b65a0e6e19
initial commit
2018-02-06 02:36:22 +00:00
HG
c40f79e3c6
Create README.md
2018-02-05 23:13:37 +00:00
Sébastien Chopin
c415a679e4
Merge pull request #2766 from clarkdo/upgrade_axios
...
example: upgrade axios-module to 5.x
2018-02-05 10:53:12 +01:00
Clark Du
4d973a7d4e
example: upgrade axios-module to 5.x
2018-02-05 17:49:08 +08:00
Clark Du
215832769e
refactor: add context as third param of render:route hook
2018-02-04 17:57:51 +03:30
Clark Du
28d28cb8c1
feature: pass request to render:route hook
2018-02-04 17:57:51 +03:30
Sébastien Chopin
bd161130d1
example: Update CSS
2018-01-31 16:47:41 +01:00
Sébastien Chopin
e2b0ccc74a
example: Rename scroll-behavior example
2018-01-31 16:18:59 +01:00
Sébastien Chopin
3235b037a0
Merge pull request #2633 from homerjam/fix-route-transitions-example
...
fix route transitions example
2018-01-26 12:23:50 +01:00
Nicolas Pennec
ae00499ec5
fix: avoid warning of too big vendor
2018-01-25 09:51:06 +01:00
Clark Du
8b634c210d
feat: add noscript in head
2018-01-23 18:30:36 +08:00
Batuhan KATIRCI
4a3d632b4e
Add generate:page
hook for with-amp
example for SPA mode ( #2670 )
...
* Add `generate:page` hook for `with-amp` example for SPA mode
* Fix linter error
2018-01-23 12:08:38 +08:00
James Homer
8980b37712
improve custom scroll behavior example
2018-01-19 13:07:38 +00:00
James Homer
a7ec4367f5
add custom scroll behavior example
2018-01-19 00:15:10 +00:00
James Homer
bd7c833115
fix route transitions example
2018-01-19 00:13:18 +00:00
Sébastien Chopin
29768e597a
Update README.md
2018-01-17 09:52:58 +01:00
Sébastien Chopin
1319f9ae15
Update README.md
2018-01-17 09:48:51 +01:00
Sébastien Chopin
4e5959d293
example: Add keep-alive example
2018-01-17 09:46:48 +01:00
Sébastien Chopin
cb1a4e9336
example: Add titles
2018-01-17 09:43:11 +01:00
Sébastien Chopin
93f3082c43
example: Add head titles
2018-01-17 09:38:11 +01:00
yoyo837
e5f7001eb5
Something warning about styleResources
2018-01-14 20:08:17 +08:00
Jakub
c4c63e0c66
examples: update to vue-chartjs 3.0.0 ( #2580 )
...
* chore(dependencies): Update vue-chartjs and chartjs to latest version
* refactor(examples): Update component creation of charts
2018-01-13 22:30:03 +03:30
Sébastien Chopin
f0cda98ad7
example: Add Less file to show multi pre-processors
2018-01-08 10:41:30 +01:00
Sébastien Chopin
0d2e2a4833
example: Add warning about pages css
2018-01-05 13:06:47 +01:00
Sébastien Chopin
6b275e3dbd
Example: Add AMP example
2018-01-05 12:54:42 +01:00
Sébastien Chopin
36ee372b0b
misc: Remove options argument
2018-01-05 09:43:56 +01:00
Sébastien Chopin
910184301a
example: Refacto CoffeeScript example
2018-01-05 09:43:35 +01:00
Sébastien Chopin
f74457c9c5
Add .coffee extensions for nuxt and webpack
2018-01-05 08:20:32 +01:00
Sébastien Chopin
202a84f203
Merge branch 'dev' into dev
2018-01-05 08:18:17 +01:00
Sébastien Chopin
dd83c87f64
example: Lint & fix TS example
2018-01-04 18:08:53 +01:00
Quique Fdez Guerra
44c0ab78a2
Add more realistic TypeScript example
2018-01-02 10:55:22 +01:00
Clark Du
a9b54c3f25
fix: jsx example lint issue and use latest nuxt
2017-12-11 18:37:50 +08:00
Clark Du
4b841c7f2c
example: add jsx
2017-12-10 01:55:59 +08:00
Clark Du
5f57166feb
fix: with-vue-material lint and dependency issue
2017-12-03 16:28:54 +03:30
Ademola Adegbuyi
2f372c9644
Add Vue Material Example
2017-12-03 16:28:54 +03:30
Quique Fdez Guerra
d9c89106c6
Fix linting
2017-12-01 13:48:30 +01:00