快乐冲浪与生活

多体验、多体会、多体悟

0%

插槽(<slot>)是 Vue 组件体系中核心的内容分发机制,其核心作用是允许父组件向子组件传递任意模板片段,子组件可在指定位置渲染这些片段,让组件的结构复用与定制化变得更加灵活。

5 天学习 Nuxt.js,主要以官方文档为主,结合 AI 辅助。在学习过程中,会记录要深入研究的知识点,并整理成文。

资源:

  1. 官方 - 介绍
  2. 官方 - 安装
  3. 官方 - 配置
  4. 官方 - 视图

介绍

Nuxt is a free and open-source framework with an intuitive and extendable way to create type-safe, performant and production-grade full-stack web applications and websites with Vue.js.