You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The benefit would be to still be able to change Stylus variables like $accentColor when making small modifications to the default theme, for example adding a component to a slot of the default Layout:
Other custom themes could also allow local overrides by having @import '~@temp/override.styl' in their style. If not the file would still be copied in app/.temp but won't have any effect.
The text was updated successfully, but these errors were encountered:
ghys
added a commit
to ghys/vuepress
that referenced
this issue
May 10, 2018
I added a Layout.vue component with the code example here to theme/Layout footer and getting the [Vue warn]: Unknown custom element: <Layout> - did you register the component correctly? For recursive components, make sure to provide the "name" option. error. Any suggestions? Thanks!
Following the discussion in #339 (comment):
I would simply like to suggest removing the
options.useDefaultTheme
check here:vuepress/lib/prepare.js
Line 64 in d9b290b
The benefit would be to still be able to change Stylus variables like
$accentColor
when making small modifications to the default theme, for example adding a component to a slot of the default Layout:Other custom themes could also allow local overrides by having
@import '~@temp/override.styl'
in their style. If not the file would still be copied inapp/.temp
but won't have any effect.The text was updated successfully, but these errors were encountered: