Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial functionality #1

Open
13 of 16 tasks
davestewart opened this issue Nov 2, 2021 · 7 comments
Open
13 of 16 tasks

Initial functionality #1

davestewart opened this issue Nov 2, 2021 · 7 comments

Comments

@davestewart
Copy link
Owner

davestewart commented Nov 2, 2021

Build

  • convert to TypeScript
  • setup bundling

Configuration

  • make dir configuration optional (so partial migration doesn't break the site)
  • make setting names more explicit

Routes

  • build route discovery code
  • add route helpers (and move injection of path from service to helper)
  • add config files to watch
  • add partial route configuration
  • add grouping

Additional functionality

  • upgrade store discovery to account for grouping
  • support additional folders / packages
  • support group-level index page and store

Docs

  • split new site setup and migration into separate docs
  • configuration options
  • routing options
  • alias configuration (TS + Webpack)
@Jamiewarb
Copy link

Hey Dave!
Thought I'd check just before I dive in - does this support Nuxt 3 and Bridge / are you planning to support Nuxt 3 and Bridge, via Nuxt Kit?

@davestewart
Copy link
Owner Author

davestewart commented Nov 8, 2021

Howdy Jamie!

Well, planning to support all of it as soon as I can, and will be open to PRs once the codebase is more stable.

I did install Bridge on a repo the other day but even with Daniel Roe's help couldn't get everything compiling properly, but we could try with the demo repo and iron out any bugs.

Is there anything radically different that you worry might not work, or would need extra support?

Obviously to be a success, Areas will need to work everywhere...

@davestewart
Copy link
Owner Author

Looks like there is a migration guide here:

@Jamiewarb
Copy link

Jamiewarb commented Nov 9, 2021

Nope, nothing that I'd need support on. Just that I'm building a greenfield Nuxt 2 with the aim to add Bridge and eventually Nuxt 3 sometime in December if I can.

Wanted to check what your plans were before I adjust the app for Nuxt Areas, knowing I'd be looking at migration in a months time :)

I can hopefully give a hand if you'd like it once you're happy to receive PRs too (time permitting 😫)

@davestewart
Copy link
Owner Author

davestewart commented Nov 9, 2021

Would definitely like some more testing done in the wild.

I have always found Nuxt to be frustratingly temperamental.

Areas is very happy on the demo project, then I upgraded a live project from v0.5.0 to v0.6.0 and it (Nuxt) blew up. I don't know if this is Areas code, or Nuxt code right now.

I'm hoping v0.7.0 will solve things as it brings more structure to the initial pass of determining the areas. I'm trying to add flexible support for nesting, without giving folks enough rope to hang themselves with.

I find when Nuxt blows up it's entirely unforgiving, so I'm hoping to get all these edge cases out the way now so you don't end up staring into the abyss of a Nuxt server side error screen when you need to be able to plan reliably!

@davestewart
Copy link
Owner Author

davestewart commented Nov 11, 2021

Areas 0.7 is out now and it feels pretty solid so far.

@davestewart
Copy link
Owner Author

@Jamiewarb, see #6 and #7.

It's all good from Nuxt Areas's POV but the Nuxt 2 > 3 migration is no fun. There be dragons!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants