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

Outdated Template. #1

Open
louiss0 opened this issue May 22, 2023 · 0 comments
Open

Outdated Template. #1

louiss0 opened this issue May 22, 2023 · 0 comments

Comments

@louiss0
Copy link

louiss0 commented May 22, 2023

name version
vitepress alpha-76
Ahryman40k/nx-vitepress 15.1.1

The template file is outdated it the API for creating a vitepress page is different and it will no longer be too convenient for me to use this template. Please change the template so that it will be convenient for people to use.

The index.template.md file in this repo

home: true
heroImage: /logo.png
heroAlt: Logo image
heroText: Vitepress
tagline: Nx powered project
actionText: Get Started
actionLink: /guide/
features:
  - title: Theming 
    details: Dark and light mode are already activated.
  - title: Navigation
    details: Enjoy having a ready-to-use navigation bar.
  - title: Sidebar 
    details: Custom sidebar defined for _/guide_ route.

The new API

home: true
 image: 
  src: /logo.png
  alt: Logo image
 text: Vitepress
 tagline: Nx powered project

features:
  - title: Theming 
    details: Dark and light mode are already activated.

  - title: Navigation
    details: Enjoy having a ready-to-use navigation bar.

  - title: Sidebar 
    details: Custom sidebar defined for _/guide_ route.

These two are also outdated according to the docs.

actionText: Get Started
actionLink: /guide/

Link to the docs for the home section here

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

1 participant