Git Product home page Git Product logo

vitepress-blog-starter's Introduction

VitePress Blog Starter

Starter Project for VitePres with Blog included. Searched for some VitePress Blog demo code without success - decided to make a sample project by my own. Hopefully it will be usefull for someone else ...

Features

  • UnoCSS for Styling
  • Blog Demo with Posts and Authors
  • Blog functions by Composables
  • Local Search by vitepress

Useage with pnpm

Install

pnpm i

Develop

pnpm dev

Build

pnpm build

vitepress-blog-starter's People

Contributors

sfxcode avatar zhangyuhan2016 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

vitepress-blog-starter's Issues

post.excerpt appears above PostDetail.vue

The PostDetail.vue template does not have a slot for post.excerpt yet in the post page (e.g. /blog/post/post4.html), the excerpt appears ABOVE the post followed by an HR tag. There does not appear to be a template to modify this.

I don't want to show the excerpt on the post page. Is there a template file that wraps around PostDetail.vue?

Capture

Add support for configuration in SearchPlugin

Description:

Currently, the SearchPlugin in the project lacks some default configurations such as support for fuzzy search. Fuzzy search can significantly improve the accuracy and efficiency of search results, and it is an essential feature for many applications.

I am unsure about the best location for this configuration. maybe, I believe it should be at the same level as the uno.config.ts file.

It would be helpful to update the documentation with information about the new configuration options and usage examples to help other developers use it effectively.

Proposal:

Add the configuration option to the SearchPlugin.

Update the documentation to include information about the new configuration options and usage examples.

I believe this change would significantly improve the search functionality of the project and make it easier to use for developers.

Links

vitepress-plugin-search -- support for fuzzy search #30

import { SearchConfig } from 'search.config.ts'

SearchPlugin(SearchConfig)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.