Skip to content

sqcheah/learn.nuxt.com

 
 

Repository files navigation

learn.nuxt.com

Warning

This project is unfinished and heavily work in progress.

An interactive Nuxt playground for learning Nuxt. Powered by Nuxt and WebContainers.

Inspired by learn.svelte.dev.

Live Streaming

Anthony Fu is doing regular live streaming on building this project from scratch. You can watch the recordings or join the live stream on YouTube.

Contributing

Important

Please create an issue first before submitting PRs. So that we can discuss about the directions and plans, to avoid wasted efforts. Thank you!

This project is progressed mainly on Live Stream. In general, we want to present the main progress on the stream so people can follow along the whole process. Contributions are still greatly welcome! For PR that makes refactors or big changes, we could review them on the stream as well.

Development

To run this project locally, you need to have Node.js v20.0+ and pnpm installed.

After cloning the repo, run the following commands to install dependencies:

pnpm install

Then, run the following command to start the development server:

pnpm dev

The development server will be running at http://localhost:3000.

Todolist

  • Show release time for the playground
  • Show Nuxt and Vue versions from the container
  • Custom bundler for templates (replaces import.meta.glob, create static virtual modules)
  • Switch playgrounds on different guides
  • Verification for tutorial tasks
  • Monaco editor and Volar
    • Connection Volar to the WebContainer FS
  • File tree
  • Add interactivity shell
  • A basic editor
  • Refactor logic from Vue SFC to composables
  • Refactor to add Pinia
  • Frame-to-parent communication
  • Sync the basic style
  • Buttons to restart server
  • Open/close terminal panel
  • Extract "playground injected" utils
  • Download the project as zip

License

MIT

About

[Heavily Work in Progress] An interactive tutorial and playground for Nuxt

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vue 52.1%
  • TypeScript 44.5%
  • CSS 3.2%
  • JavaScript 0.2%