fibo / trunx

Super Saiyan React components, son of awesome Bulma
MIT License
64 stars 14 forks source link

Next.js example #14

Closed fibo closed 5 years ago

fibo commented 5 years ago

See this example, do something similar with trunx components: https://github.com/jvarness/next-with-bulma

Actually I do not like storybook experience on mobile. It was great to start but trunx could now be used to create its own website, possibly really similar to bulma website (even carbon ads :)

I also submitted trunx storybook and pr was merged but the storybook examples are not on the storybook website, looks like they were removed.

fibo commented 5 years ago

see https://nextjs.org/learn/excel/static-html-export

fibo commented 5 years ago

see also https://mdxjs.com/getting-started/next

jvarness commented 5 years ago

Was looking around the internet for my repo and saw it was mentioned here :)

I'm glad you like the example! Are you thinking about possibly rewriting trunx's site using Next.js? I'm a fan myself :) this repository looks really cool and useful!

fibo commented 5 years ago

Hi @jvarness thank you for your example repo, it looks really inspiring for me. Yes I think that rewriting trunx's site using Next.js is a really interesting option.

By now I am using storybook and it is not that bad, but for sure when I finish to copy all Bulma documentation and will consider deploy first trunx major version, I will consider stealing code from your example repo.

fibo commented 5 years ago

@jvarness also using React Styleguidist ( issue here https://github.com/fibo/trunx/issues/19 ) looks promising.

jvarness commented 5 years ago

Interestingly enough, I found a project that's very similar to this one called re-bulma that uses styleguidist in order to document all of it's components. I wonder if it would be worthwhile to combine the two projects?

fibo commented 5 years ago

@jvarness unfortunately the project is deprecated but it looks a good resource too see how to use React Styleguidist.

fibo commented 5 years ago

I tryed Next.js and I prefer to implement the documentation website with my usual workflow tools (i.e. a react build dome with browserify and the budo dev server).