blocka

Results 35 comments of blocka

What about the layout? Or you're just fine with stopping at the page. I once tried to go down the rabbit hole of trying to figure out how to render...

In my regular vue applications (that i'd use for things like admin sections, etc.) I have top-level stories in which I mock the router and show the entire page as...

what do you do in the decorator...mock the component so that it shows the given page?

Not sure I understand you: That component usually looks like ``` ``` how exactly are you using it to "decorate"?

ok...but you're duplicating your whole layout in the story...

My suggestion was have the decorator replace the component with , basically...not to use it as is > So you will only write layoutDecorator once I don't mean copying the...

> If you want to render whatever is at router /foo/bar/23 run the nuxt sever without talking to a server...all data mocked with msw.

And of course forgot to mention that react doesn't require the state be declared up front like in vue.

Makes sense. But lots of folks already use their own boilerplates like cra or vue- cli. Or perhaps they already have a brownfield app. It would be nice to know...

Not gonna post one of my private projects here, but for the sake of example, let's take this: https://github.com/nicejade/awesome-vue-cli3-example This is a project that was already bootstrapped with an existing...