// Of course, before that, you should install @babel/plugin-proposal-optional-chaining // npm i -D @babel/plugin-proposal-optional-chaining // in nuxt.config.js { // ... build: { // .... babel: { plugins: [ '@babel/plugin-proposal-optional-chaining' ] } } }
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter