Code Monkey home page Code Monkey logo

valaxy-theme-starter's Introduction

Valaxy-Theme-Starter(vue)

npm npm dev dependency version

This is a template for creating a valaxy theme.

Usage

Clone to local

Use pnpm, because we need its workspace.

npx degit YunYouJun/valaxy-theme-starter valaxy-theme-name

cd valaxy-theme-name

# If you don't have pnpm installed
npm install -g pnpm

pnpm i

Development

# dev node
pnpm dev
# dev client
pnpm demo

Build

pnpm build

Release

Publish to npm.

Manual

pnpm ci:publish

Auto by GitHub Actions

You can release it by github actions.

Click Settings -> Secrets -> Actions in your GitHub repo.

Add New repository secret:

  • NPM_TOKEN: your npm token (Generate from your npm Access Tokens - Automation)
npm run release
# choose your version to automatic release

Checklist

  • Change the author name in LICENSE & package.json & .github
  • Write ThemeConfig & Other init content
  • Rename valaxy-theme-starter to valaxy-theme-<name> (custom it)
  • Change theme: 'starter' to theme: <name> in valaxy.config.ts
  • Each of your Vue components should have a namespace
    • For example: YunTest.vue for valaxy-theme-yun

About Checklist Rename

Rename valaxy-theme-starter with valaxy-theme-name in the package.json and valaxy.config.ts files.

PS: there are a total of four files that need to be rename

valaxy-theme-name
  - package.json
  - demo
    - package.json
    - valaxy.config.ts
  - theme
    - package.json

Let's write the theme & docs!

Thanks

Starter theme ref theme:

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.