Yinchen Wang
Yinchen Wang
**Describe the bug** Instead of set the loading spinner for img tag ```css .${this.className}.loading { background-image: url(${this.#dataUri}); background-repeat: no-repeat; background-position: center; background-size: ${this.#size}; background-color: ${this.#backgroundColor}; } ```  would like...
```js ``` maybe: ```js mounted() { if (this.nPlaceholder) { ... img.onerror = () => { this.$refs.img.src = this.nMainSrc this.placeholderLoaded = true } } ... } ```
### Version @nuxtjs/i18n: "7.0.1" nuxt: ^2.15.0 ### @nuxtjs/i18n configuration ```js modules: [ [ "@nuxtjs/i18n", { locales: [ { code: "en", iso: "en-GB", file: "en-GB.js", name: "ENG" }, { code: "nl",...
version: "@nuxtjs/date-fns": "^1.5.0" For now only uppercase fromat string can work, like `YYYY-MM-DD` ```js {{ $dateFns.format(new Date('2021-05-01'), 'yyyy-MM-dd') }} // output `yyyy-05-za` {{ $dateFns.format(new Date('2021-05-01'), 'YYYY-MM-DD') }} // output `2021-05-01`...
Cause the Nuxt: 3.7 use purely relative paths in the generated tsconfig.json instead of setting a baseUrl, there will throw error when type check.