typescript
typescript copied to clipboard
TypeScript Support for Nuxt 2
This PR contains the following updates: | Update | Change | |---|---| | lockFileMaintenance | All locks refreshed | 🔧 This Pull Request updates lock files to use the latest...
**Describe the bug** When using babel in conjunction with nuxt typescript I run into an issue using @nuxt/babel-preset-env, which contains @babel/plugin-transform-parameters. Default parameters should be transpiled for compatibility with e.g....
I discovered that it was a bit difficult for me to understand and get the Vuex to work with the initialiser plugin. I think it would be better to includes...
**Describe the bug** In the `@nuxt/typescript-runtime` code [here](https://github.com/nuxt/typescript/blob/master/packages/typescript-runtime/bin/nuxt-ts.js#L6) it references either `@nuxt/cli` or `@nuxt/cli-edge` but these are dependencies of `nuxt`, not `@nuxt/typescript-runtime`. normally this shouldn't be an issue because you'd...
I'm trying to learn how to do vuex things in a typescript way, but having too much pain to find useful guides and examples. The examples provided in https://github.com/nuxt/typescript/tree/master/examples is...
Dynamically imported directory throws this error  Normal imports are working fine  here is my tsconfig.json ``` { "compilerOptions": { "target": "ES2018", "module": "ESNext", "moduleResolution": "node", "lib": ["ESNext", "ESNext.AsyncIterable",...
Example of component script is not shown in [https://typescript.nuxtjs.org/cookbook/components/#script](https://typescript.nuxtjs.org/cookbook/components/#script) 
In NuxtJS its easy to breakdown vuex file into separate files like e.g 📦store ┣ 📂auth ┣ 📂utils ┣ 📂posts ┃ ┗ 📜actions.js ┃ ┗ 📜mutations.js ┃ ┗ 📜getters.js ┃...
The following error was produced during nuxt-generate: ```[fatal] Nuxt build error ERROR in test/unit/Blog.spec.ts:37:24 TS2749: 'Blog' refers to a value, but is being used as a type here. Did you...
**Describe the bug** When creating a component within a module, `this.$nuxt` is undefined in the component when using Options API (Vue.extend) or Class API (@Component). Defining the component using `export...