Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Lightning Talk at Nuxt Nation 2021. Now updated to Nuxt 3.

NotificationsYou must be signed in to change notification settings

areindl/nuxt-structure-with-modules

Repository files navigation

⚡️ Talk at NUXT NATION by Anton Reindl

In my talk in 2021, I introduced Domain Driven Design and talked about structuring apps according to domain modules. I and demonstrated how to use Nuxt 2 modules to create independent submodules including Vuex modules and routes.

The original Nuxt 2 example can be found in a legacyhere.

🚀 Nuxt 3

I reimplemented the example of "Anton's Biketours" in Nuxt 3. This example implements a fresh Nuxt 3 with an landing page (pages/index.vue ) and one domain-module module, namely the blog-module imported from.modules/blog . The module has its own components, composable and pages folder to better separate the domain from the rest of the app.

I also recommend to look at thedocumentation.

Scope

npm install

Development

Start the development server onhttp://localhost:3000

npm run dev

Production

Build the application for production:

npm run build

Checkout thedeployment documentation.

📚 Resources

  • Slides of this Talk
  • Blog postDomain-Driven Design in Nuxt Apps by Filip Rakowski
  • Recommended DDD-Books:
    • Domain-Driven Design: Tackling Complexity in the Heart of Software - by Eric Evans
    • Implementing Domain-Driven Design by Vaughn Vernon
    • Domain-Driven Design Distilled by Vaughn Vernon

About

Lightning Talk at Nuxt Nation 2021. Now updated to Nuxt 3.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors2

  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp