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

Component Props not rendering #825

Closed
jsplopes opened this issue Apr 22, 2019 · 2 comments
Closed

Component Props not rendering #825

jsplopes opened this issue Apr 22, 2019 · 2 comments

Comments

@jsplopes
Copy link

jsplopes commented Apr 22, 2019

The component props isn't rendering.

On prop component the stateProps key have "/" as path separator (unix slash):

image

And in the filename is used the "" as path separator (windows backslash):

image

The path validation must be agnostic, so maybe in the conditional found the path separator
on both must be normalized to a unix slash.

I'm using:

  • Docz v.1.0.0
  • Typescript
  • dev compile on windows 10

regards,
Júlio Lopes

PS: Nice job...

fi3ework added a commit to fi3ework/docz that referenced this issue Apr 23, 2019
@fi3ework
Copy link
Contributor

Could be fixed in next released version.

@Glazy
Copy link
Contributor

Glazy commented Apr 28, 2019

Closing, follow this issue in #777 💪

@Glazy Glazy closed this as completed Apr 28, 2019
pedronauck pushed a commit that referenced this issue Jul 11, 2019
pedronauck added a commit that referenced this issue Jul 18, 2019
* feat(docz-core): add initial gatsby bundler algorithm

* chore: update yarn.lock

* feat: docz running using gatsby under the hood

* chore(docz-core): refactor devserver machine

* chore(docz-core): some improvements

* fix(docz-core): some adjustments

* fix(babel-plugin-export-metadata): disable enumerable for __filemeta

* chore: update dependencies

* feat(docz-core): add doczrc config watcher on dev

* chore(docz-core): remove unnecessary file

* fix: packages rollup config

* feat(docz-core): add build and serve command with gatsby

* chore: update dependencies

* chore(docz-core): remove unnecessary babel config

* feat: dynamic src and root path

* chore: update dependencies

* feat: add typescript support (need fix)

* chore: use emotion instead of styled-components

* chore: add first steps with theme-ui

* chore(docz-theme-default): some modes adjustments

* chore: use theme default as theme component shadowing

* feat: add main package improvements

* chore: update dependencies

* chore: update dependencies

* chore: remove styled-components from examples

* feat: add new theme sidebar

* fix(gatsby-theme-docz): entry not in context

* chore(gatsby-theme-docz): change project structure

* fix: eslint configs

* chore(gatsby-theme-docz): change main layout

* feat(gatsby-theme-docz): add new Props component

* feat(gatsby-theme-docz): add new Pre component

* chore: update dependencies

* feat: add new Playground component

* feat(gatsby-theme-docz): add blockquote styles

* chore(gatsby-theme-docz): just some adjustments

* feat(gatsby-theme-docz): add some improvements

* chore: udpate dependencies

* feat: a lot of improvements

* chore: update dependencies

* chore: some improvements

* chore: update dependencies

* feat: adapt core plugins to gatsby hooks

* feat(docz-core): watch gatsby config files

* fix: no-undef eslint rule

* feat(gatsby-theme-docz): improve code highlight

* chore: just some adjustments

* fix(gatsby-theme-docz): prisms theme by themeConfig

* feat(docz-core): watch custom theme files

* chore: update dependencies

* chore: update dependencies

* fix: some typescript adjustments

* feat(docz-core): ensure files before running machine

* chore: remove codesandbox feature

* feat: some playground improvements

* feat: open browser integration

* chore: remove unused config arguments

* chore: update dependencies

* fix(babel-plugin-export-metadata): transform to Unix slash (#825) (#829)

transform Windows backslash to Unix slash

* feat(gatsby-theme-docz): add showLiveError on Playground

* feat: add markdown parsing on props description

* fix(remark-docz): fix alias in the src of a mdx's image #897

* fix(docz): component Props false positives when looking in state

* fix: remove react & react-dom from dependencies #924

* fix(babel-plugin-export-metadata): fix root relative path

* feat(gatsby-theme-docz): add iframe and re-resizable on playground

* chore: some adjustments

* fix(docz): parse description of props

* feat(gatsby-theme-docz): improve documentation

* docs(gatsby-theme-docz): improve readme

* chore(gatsby-theme-docz): add menu button outside header

* docs: update README

* chore: update migration guide

* chore: some changes on migration guide

* fix: on create webpack plugin hook

* docs: add some info on migration guide

* docs: improve some docs

* feat(gatsby-theme-docz): add custom logo support

* chore: some improvements

* chore(babel-plugin-export-metadata): update snapshots

* chore: update snapshots

* chore: exclude some files from examples

* chore: update dependencies

* fix(docz-core): create deps algorithm

* fix(docz): props markdown compiler

* fix(gatsby-theme-docz): resizable import

* chore(gatsby-theme-docz): logo font family

* chore: remove docz-theme-default dependency

* chore(docz): remove async playground

* docs(gatsby-theme-docz): some changes

* chore: update dependencies

* docs: some adjustments

* fix: resizable props import
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

3 participants