Skip to content

Latest commit

 

History

History
65 lines (46 loc) · 700 Bytes

README.md

File metadata and controls

65 lines (46 loc) · 700 Bytes

base

Project setup

# yarn
yarn

# npm
npm install

# pnpm
pnpm install

Compiles and hot-reloads for development

# yarn
yarn dev

# npm
npm run dev

# pnpm
pnpm dev

Compiles and minifies for production

# yarn
yarn build

# npm
npm run build

# pnpm
pnpm build

To deploy to gh-pages

1. `yarn build` 
2. Commit to the main branch as normal.
3. Run the following command to update the `dist` folder to `gh-pages` branch.
`git subtree push --prefix dist origin gh-pages`

Lints and fixes files

# yarn
yarn lint

# npm
npm run lint

# pnpm
pnpm lint

Customize configuration

See Configuration Reference.