Dmitry Molotkov
d9db45c287
chore(examples): fix dynamic components example ( #5294 )
2019-03-20 20:20:23 +03:30
Kevin Marrec
920f444b6e
refactor(ts): better DX for typescript support ( #5079 )
...
Breaking change : `build.useForkTsChecker` renamed to `build.typescript.typeCheck`
2019-03-14 13:37:47 +03:30
Paul Geisler
320a46fe26
examples(pug): fix example by adding plain-pug-loader ( #5223 )
2019-03-13 14:04:39 +03:30
Dmitry Molotkov
1c3761a6cc
chore(examples): fix jest test dependencies ( #5155 )
2019-03-04 21:07:04 +00:00
Kevin Marrec
92f81e01e7
feat(ts): nuxt configuration typedefs ( #4854 )
2019-03-04 10:18:40 +03:30
chiboreache
6d059698a9
chore: add pug-stylus-coffee ( #4927 )
...
* add pug-stylus-coffee
* fix eslit
* fix eslint
* fix eslint #3
2019-02-19 17:07:04 +01:00
Alexander Lichter
a9511e58b2
examples: improve vuex store example ( #5017 )
2019-02-19 09:35:51 +00:00
Sergey Vikulov
1fb44d944c
fix: trailing comma in tsconfig ( #5061 )
2019-02-19 09:11:11 +00:00
Clark Du
b9391d7ea0
chore: fix eslint warning
2019-02-18 10:44:03 +00:00
Pim
06f4762e47
chore(examples): fix links to vue-meta repo ( #5018 )
2019-02-12 16:31:27 +00:00
Xin Du (Clark)
90ba0cd6b7
feat: upgrade to jest 24 ( #4868 )
2019-02-12 13:05:37 +00:00
Andrew Cravenho
dfc8dd579b
example(jest-puppeteer): fix package .json ( #4997 )
2019-02-10 23:29:26 +03:30
HG
c0311bc22f
doc: create/update README.mds for examples ( #4980 )
...
* Create README.md
* Update README.md
* Update README.md
* Update README.md
* Create README.md
* Update README.md
* Update README.md
* Create README.md
* Update README.md
* Update README.md
* Create README.md
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* Create README.md
* Update Readme.md
* Create README.md
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* Create README.md
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* Create README.md
* Create README.md
* Update README.md
* Create README.md
* Create README.md
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* Create README.md
* Update README.md
* Create README.md
* Update README.md
* Update README.md
* Update README.md
* Create README.md
* Update README.md
* Update examples/with-vuikit/README.md
Co-Authored-By: husayt <husayt@gmail.com>
* Update examples/auth-routes/README.md
Co-Authored-By: husayt <husayt@gmail.com>
* Update examples/middleware/README.md
Co-Authored-By: husayt <husayt@gmail.com>
* Update examples/vuex-store-modules/README.md
Co-Authored-By: husayt <husayt@gmail.com>
* Update examples/with-feathers/README.md
Co-Authored-By: husayt <husayt@gmail.com>
* Update examples/with-element-ui/README.md
Co-Authored-By: husayt <husayt@gmail.com>
* Update examples/with-cookies/README.md
Co-Authored-By: husayt <husayt@gmail.com>
* Update examples/vuex-store/README.md
Co-Authored-By: husayt <husayt@gmail.com>
* Update examples/vuex-persistedstate/README.md
Co-Authored-By: husayt <husayt@gmail.com>
* Update examples/with-firebase/README.md
Co-Authored-By: husayt <husayt@gmail.com>
2019-02-08 15:48:30 +01:00
Dmytro
1fb9af33a3
chore(examples): zero-downtime pm2 typescript example ( #4907 )
2019-02-01 16:37:55 +03:30
Alexander Lichter
47898fbdac
chore(examples): rebase on latest stable nuxt version ( #4874 )
2019-02-01 16:36:06 +03:30
Alexander Lichter
be41ae1c2f
example(vuex-store): change to module store ( #4923 )
2019-02-01 16:32:41 +03:30
andoshin11
5101dc6aae
chore(examples): add tsx example ( #4855 )
2019-01-29 22:51:49 +03:30
Alexander Lichter
fc14da4aee
examples(coffeescript): fix script ( #4865 )
...
[skip ci]
2019-01-28 20:41:54 +03:30
Kevin Marrec
55dc7f4475
fix(ts): keep baseUrl property in generated tsconfig.json ( #4843 )
2019-01-24 14:14:02 +03:30
Kevin Marrec
c39cf841a3
fix(ts): fix default tsconfig.json
( #4842 )
...
[release]
2019-01-24 01:11:00 +03:30
Kevin Marrec
2a1ee96a4b
feat(ts): auto generate tsconfig.json ( #4776 )
...
* Bundle `@types/node` into `nuxt-ts` distribution
* feat(ts): Autogenerated tsconfig.json
* fix(examples): Update typescript examples
* fix(ts): Add `dist` & `tsconfig.json` to `pakage.json` files
* fix: add missing new line at the end of generated `tsconfig.json`
* add suffix if needed to `tsconfig.json` types during package build
* use `readJSON` over `readJSONSync`
* fix indentation in `nuxt-ts/tsconfig.json`
* use writeJson instead of writeFile
* split `nuxt-ts/src` in 2 functions + rootDir parametr + add tests
* add `fs-extra` to dependencies to prevent build warning
* JSON everywhere instead of JSON/Json
* fix: missing call to generateTsConfigIfMissing
* ask confirmation for tsconfig.json generation
* improvement: let compilerOptions.module as default
* improvements
* move from github link to friendly linkable local path
* add resolveJsonModule in default config
Co-Authored-By: kevinmarrec <kevin@marrec.io>
* Move `nuxt-ts` logic to `@nuxt/typescript`
* Upgrade to `ts-node@8.0.1`
2019-01-23 10:53:52 +01:00
Dmitry Molotkov
ee7ad7741e
fix(examples): fix deps on codesandbox ( #4828 )
...
[skip ci]
2019-01-22 11:04:19 +03:30
Alexander Lichter
4b321441e5
fix(examples): add pug dependencies ( #4824 )
...
[skip ci]
2019-01-21 23:21:20 +03:30
Dmitry Molotkov
6542dffa97
fix(examples): deps [skip ci] ( #4827 )
2019-01-21 19:01:34 +00:00
Eduardo San Martin Morote
c83bcb046a
fix(examples): use testURL and module names ( #4777 )
2019-01-18 01:15:17 +03:30
Alexander Lichter
f70610b794
fix(examples): deps [skip ci] ( #4782 )
2019-01-17 10:01:15 +00:00
Kevin Marrec
73507b80b0
fix(examples): Ugrade vue-property-decorator
in typescript examples ( #4767 )
2019-01-16 14:46:59 +03:30
Sébastien Chopin
1b84fa84e1
Update README.md
2019-01-14 15:55:45 +01:00
Xin Du (Clark)
ef05e005a6
refactor: add module not found fatal message in cli/imports ( #4741 )
2019-01-12 23:51:43 +03:30
Kevin Marrec
dfaffc0183
feat(nuxt-ts): typescript support improvements ( #4750 )
2019-01-12 23:51:21 +03:30
EGOIST
38e2ddf7fe
chore: add styled-vue example ( #4712 )
2019-01-08 16:32:51 +00:00
Clark Du
ccf326488c
fix(example): lint error
2019-01-07 16:44:14 +00:00
Sébastien Chopin
3b7ac3c5c5
fix(examples): Update config for better mobile handling
2019-01-07 17:34:18 +01:00
Kevin Marrec
b38e0aac43
feat(ts): typescript examples + improve vue-app
typings ( #4695 )
2019-01-06 12:37:17 +03:30
Alexander Lichter
c4b5b51fbe
chore(examples): improve nuxt-prefetch pkg.json ( #4653 )
2018-12-30 01:04:25 +03:30
Sébastien Chopin
f319033928
feat(nuxt-link): Smart prefetching and $nuxt.isOffline ( #4574 )
...
* feat(nuxt-link): Improve <n-link> and add automatic prefetch
* Update packages/vue-app/template/components/nuxt-link.js
Co-Authored-By: Atinux <seb@orion.sh>
* add missing space
* feat(nuxt-link): Split in two components for smaller bundle
* fix(vue-app): Use requestIdleCallback
* chore(vue-app): Improve nuxt prefetch strategy for nuxt links
* chore(vue-app): Add .isOnline and handle it for prefetch
* chore(vue-app): Add .isOffline and use it
* chore(vue-app): Add .isOffline
* chore(server): Check is options.modern is given in dev mode
* chore(vue-app): Add intersection-observer polyfill if router.prefetchLinks is 'polyfill'
* chore(vue-app): Remove polyfill
* chore(vue-app): Use only process.client
* chore(vue-app): Add TS typings for .isOnline and isOffline
* chore(vue-app): Update typings by @kevinmarrec
* chore(vue-app): Reorder names
* examples(nuxt-prefetch): Add Nuxt prefetching example
* chore(vue-app): Add router.linkPrefetchedClass
* lint(vue-app): Fix lint
* chore(vue-app): Use intersectionRatio, recommend by @maoberlehner
* fix(lint): Fix linting issues
* lint(vue-app): Fix again (lol)
* types(vue-app): Update TS typings
* chore(vue-app): Update Vetur tags description
* fix(vue-app): Use prefetchClass
* chore(vue-app): Disable linkPrefetchedClass by default
2018-12-28 17:27:03 +01:00
Andrey Shertsinger
b1b9e0bcbc
feat(vue-app): support named views ( #4410 )
...
* support named views for extendRoutes config
* fix lint errors
* fix lint errors 2
* some refactoring
* var rename
* fixture & unit tests
* fix: style
* nuxt-child named view example and test
* nuxt element with named view in layout
* lint
2018-12-20 16:50:22 +01:00
Clark Du
6a4808f576
fix(eslint): amp tags not support pascal case
...
[skip release]
2018-12-20 13:49:16 +00:00
Ricardo Gobbo de Souza
6315bd71f3
fix: nested-components example ( #4535 )
...
[skip ci]
2018-12-13 22:09:16 +03:30
Alexander Lichter
c60b1945e8
chore: cleanup ( #4529 )
2018-12-12 10:01:49 +03:30
Sébastien Chopin
15051978f0
feat(vue-app): <n-link> and <n-child> component aliases ( #4525 )
2018-12-11 20:37:04 +03:30
Pooya Parsa
fe0516978a
fix: improvements for build and dev stability ( #4470 )
2018-12-09 14:12:22 +03:30
Clark Du
7cf9f80c14
fix(exmaple): typescript example
...
[skip release]
2018-11-27 11:29:00 +00:00
Alexander Lichter
bf505eccd5
chore: add pug example ( #4409 )
...
[skip release]
2018-11-25 15:43:07 +03:30
Dmitry Molotkov
8666b53998
fix eslint pascal case warning ( #4403 )
...
[skip ci]
2018-11-25 11:09:01 +03:30
Alexander Lichter
9f274364ce
chore(examples): update scroll-behavior example ( #4398 )
...
#2738 [skip release]
2018-11-24 22:23:57 +03:30
Clark Du
52a92fbc48
refactor: use PascalCase for components names ( #4396 )
2018-11-24 22:19:19 +03:30
renovate[bot]
bfb6d6a22a
fix(deps): update all non-major dependencies ( #4310 )
2018-11-14 23:58:17 +03:30
charlie hield
ec9724f712
chore: tailwind purgecss example ( #4214 )
...
* Add tailwindcss purgecss example
* Eslint fixes
2018-11-08 10:37:38 +01:00
Dmitry Molotkov
83f8b1183c
examples: update vuetify to use vuetify loader ( #4263 )
...
[skip ci]
2018-11-08 02:13:02 +03:30
Pooya Parsa
39b558f59c
refactor core into sub-packages ( #4202 )
2018-10-31 00:12:53 +03:30
awronski
106141f74c
feat: jest-puppeteer example ( #4163 )
...
* feat: jest-puppeteer example
* - Refactor test
* - lint
* - lint
* - eslint-disable no-undef
2018-10-25 19:44:09 +02:00
Paul Gascou-Vaillancourt
5c0d12fb13
chore(examples): Add Jest + Vue Test Utils example ( #4116 )
...
* chore(examples): Add Jest + Vue Test Utils example
* style: Lint
* refactor: Rename button component & fix lint errors
* refactor: Use export default
* refactor: Babel 7 setup
2018-10-25 19:42:21 +02:00
Илья
90db0aded8
Update theme.js ( #4068 )
...
More clear option
2018-10-10 16:09:21 +01:00
Clark Du
61407fec1d
refactor: config Postcss preset and plugins together ( #3927 )
2018-10-09 15:56:11 +03:30
Clark Du
fb8a329a75
chore: update storybook example
2018-10-06 19:38:47 +01:00
Clark Du
f08cc76055
exmaple: remove unnecessary transpile for vuetify
2018-09-29 21:18:33 +01:00
Lajos Veres
74eb5a6302
* Typofixes - https://github.com/vlajos/misspell-fixer ( #4013 )
2018-09-29 22:05:20 +02:00
Sébastien Chopin
1ab2483622
Update package.json
2018-09-26 19:10:46 +02:00
Sean
73d1b9d846
fix: correct typo in "Auth External API" example ( #3919 )
...
<!--- Provide a general summary of your changes in the title above -->
## Types of changes
<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->
- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
## Description
<!--- Describe your changes in detail -->
<!--- Why is this change required? What problem does it solve? -->
<!--- If it resolves an open issue, please link to the issue here. For example "Resolves: #1337 " -->
Corrected `crendentials` to `credentials` in the ["Auth External API" example](https://github.com/nuxt/nuxt.js/tree/dev/examples/auth-jwt ). Text-only change.
## Checklist:
<!--- Put an `x` in all the boxes that apply. -->
<!--- If your change requires a documentation PR, please link it appropriately -->
<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->
- [ ] My change requires a change to the documentation.
- [ ] I have updated the documentation accordingly. (PR: #)
- [ ] I have added tests to cover my changes (if not applicable, please state why)
- [x] All new and existing tests passed.
2018-09-20 10:15:16 +01:00
Clark Du
411bb1904e
refactor: always use process.client instead of process.browser ( #3910 )
2018-09-19 13:30:23 +04:30
Sébastien Chopin
65432e6aa2
examples: Upgrade to nuxt-edge ( #3911 )
2018-09-18 18:26:25 +02:00
Jee Hyuk Won (Tony)
16898f8cfa
fix: ByLine component props error fixed and other some errors fixed in with-amp example ( #3871 )
...
* ByLine component props error fixed and other some errors fixed
* linting problem fixed
* export nuxt config by esmodule
* upgrade dependency
2018-09-18 17:34:01 +02:00
Clark Du
b11e9c0e51
feat: upgrade eslint to 5.x ( #3494 )
...
- [ ] babel-eslint https://github.com/babel/babel-eslint/issues/664
- [x] eslint-config-standard-jsx https://github.com/standard/eslint-config-standard-jsx/issues/32
- [x] eslint-config-standard to be stable release https://github.com/standard/eslint-config-standard/issues/123
- [x] eslint-plugin-html
- [x] eslint-plugin-import
- [x] eslint-plugin-jest
- [x] eslint-plugin-node
- [x] eslint-plugin-promise
- [x] eslint-plugin-standard https://github.com/standard/eslint-plugin-standard/issues/29
- [x] eslint-plugin-vue https://github.com/vuejs/eslint-plugin-vue/pull/504
- [x] eslint-plugin-react https://github.com/yannickcr/eslint-plugin-react/releases/tag/v7.10.0
2018-08-31 21:34:12 +01:00
Alexander Lichter
b9f3aa27c9
fix: update with-vuetify example ( #3780 )
2018-08-21 13:10:50 +02:00
Sébastien Chopin
7b910428bc
example: Add live edit and demo
2018-08-20 15:08:44 +02:00
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