1.0.4 • Published 1 year ago

@lincoler/theme v1.0.4

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

Lincoler Theme

This is the VitePress theme for the official Lincoler website at lincoler.com.

Please note this theme is solely dedicated for lincoler.com and isn't meant to be used as a content-neutral theme.

Development Setup

This repo can be developed on its own since it is a self-contained VitePress theme. Make sure to use pnpm as the package manager when installing deps. A demo app is available in /demo and can be run with npm run dev:

$ pnpm install
$ npm run dev

Developing with Real Content

To work on this theme in the context of the lincoler.com website requires cloning both repos and linking the theme into the docs repo:

  1. Clone repositories:

    git clone git@github.com:vuejs/docs.git
    git clone git@gitee.com:liu-kai-101/theme.git
  2. Link theme into your repo:

    # In ./theme
    pnpm install
    # Make @lincoler/theme available for global linking
    pnpm link --global
    
    # in ./docs
    pnpm install
    # Link theme
    pnpm link --global @lincoler/theme
  3. Start VitePress server:

    # in ./docs
    pnpm run dev

Available Scripts

Here is the list of available scripts that can be used during the development.

# Boot local dev server.
$ npm run dev

# Build demo, then serve locally. This is for testing
# production build in the local environment.
$ npm run serve

# Run lint via Prettier.
$ npm run lint

# Run type check via tsc.
$ npm run type

License

MIT

Copyright (c) 2023-present Qingdao Lincoler Trade Co. Ltd.

Tanks for

@vue/theme by Evan You

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago