Coder Social home page Coder Social logo

ivy-rong / vue-ts-starter-template Goto Github PK

View Code? Open in Web Editor NEW

This project forked from recallwei/vue-ts-starter-template

0.0 0.0 0.0 310 KB

๐Ÿ€ An opinionated Vue 3/TypeScript starter template.

License: MIT License

Shell 0.67% JavaScript 3.17% TypeScript 73.46% HTML 2.73% Vue 18.47% SCSS 1.50%

vue-ts-starter-template's Introduction

Vue Starter Template

English / ็ฎ€ไฝ“ไธญๆ–‡

๐Ÿ€ An opinionated Vue 3/TypeScript starter template.

Features

  • Based on Vue 3, Vite, pnpm
  • TypeScript, of course
  • Naive UI as UI framework
  • Tailwind CSS for rapid development based on atomic CSS
  • Sass for CSS pre-processing
  • Vue Router for routing management
  • Pinia for global state management
  • Axios for request management
  • [iconify/json] and [unplugin-icons] for icon management, can use icones quickly
  • [unplugin-auto-import] and [unplugin-vue-components] for automatic import, free your hands
  • ESLint for code checking
  • Prettier for code formatting
  • [cspell] for code spell checking
  • Husky and [lint-staged] and [commitlint] for Git commit management
  • Docker and Docker Compose for containerization
  • Use @/* as absolute path
  • Deploy on Vercel, zero config

Tech Stack

Code Style

Getting Started

GitHub Template

Vue Starter Template requires Node version >=14.16.0

Create a repo using this template.

Clone to local

If you prefer to do it manually with a cleaner Git history then follow these steps:

npx degit recallwei/vue-starter-template my-app
cd my-app
pnpm i

Checklist

When using this template, try to update your own information correctly according to the checklist:

  • Clean up README.md
  • Change author name in LICENSE
  • Change project name, description, author, etc. in package.json
  • Modify environment variables in .env and delete the file .env.example which is an example of environment variables
  • Modify the site meta data in index.html
  • Change favicon.ico in the /public directory
  • Change the interface proxy in vite.config.ts
  • Change the site meta data in src/app.config.ts
  • Delete the example API in the src/api directory
  • Delete the example images in the src/assets/images directory
  • Delete the example route in the src/router directory
  • Delete the example view in the src/views directory
  • Delete the example store in the src/store directory

Notice

  • xxx

Usage

Environment

  • Node.js >=16.14.0
  • pnpm

Config Environment Variables

Config .env file, refer to .env.example.

Install

pnpm i

Start

pnpm dev

Build

pnpm build

Known Issue

  • xxx

License

MIT License ยฉ 2023 Bruce Song

vue-ts-starter-template's People

Contributors

recallwei avatar

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.