Skip to content

ljlm0402/typescript-vue-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

29 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

logo

Vue.js with TypeScript's application generator.

NPM Version Package License Release Version NPM Downloads


🧐 What is Vue?

Vue is a progressive framework for building user interfaces.

Unlike other monolithic frameworks, Vue is designed from the ground up to be incrementally adoptable.

The core library is focused on the view layer only, and is easy to pick up and integrate with other libraries or existing projects.

πŸ€” Why typescript-vue-starter?

currently vue3 has greatly enhanced TypeScript support.

However, the @vue/cli module has limitations due to various design patterns and template structures,

so it was created by combining modules that are useful in practice.

πŸš€ Quick Start

Install with the npm global package

$ npm install -g typescript-vue-starter

Run npx to install the package

npx is a tool in the JavaScript package management module, npm.

This is a tool that allows you to run the npm package on a single run without installing the package.

If you don't specify a project name, the default typescript-vue-starter will be used instead.

$ npx typescript-vue-starter "project name"

Choose the template you want. We will create more templates later.

Select a templates

cli

Start your typescript-vue-starter app in development mode at http://localhost:8080/

$ cd "project name" && npm run serve

🎠 Available commands for the server.

  • Run the Server : npm run serve.
  • Build Static File: npm run build.
  • Check for linting errors: npm run lint.
  • Fix linting errors: npm run lint:fix.

πŸ—‚ Code Structure (default)

β”‚
β”œβ”€β”€ /public
β”‚   β”œβ”€β”€ favicon.ico
β”‚   └── index.html
β”‚
β”œβ”€β”€ /src
β”‚   β”œβ”€β”€ /assets
β”‚   β”‚   └── logo.png
β”‚   β”‚
β”‚   β”œβ”€β”€ /components
β”‚   β”‚   └── HelloWorld.vue
β”‚   β”‚
β”‚   β”œβ”€β”€ /helpers
β”‚   β”‚   β”œβ”€β”€ common.ts
β”‚   β”‚   β”œβ”€β”€ error.ts
β”‚   β”‚   └── http.ts
β”‚   β”‚
β”‚   β”œβ”€β”€ /locales
β”‚   β”‚   β”œβ”€β”€ ENG.json
β”‚   β”‚   └── KOR.json
β”‚   β”‚
β”‚   β”œβ”€β”€ /mixins
β”‚   β”‚   └── index.ts
β”‚   β”‚
β”‚   β”œβ”€β”€ /plugins
β”‚   β”‚   └── i18n.ts
β”‚   β”‚
β”‚   β”œβ”€β”€ /router
β”‚   β”‚   └── index.ts
β”‚   β”‚
β”‚   β”œβ”€β”€ /store
β”‚   β”‚   β”œβ”€β”€ /users
β”‚   β”‚   β”‚   └── index.ts
β”‚   β”‚   β”‚
β”‚   β”‚   β”œβ”€β”€ actions.ts
β”‚   β”‚   β”œβ”€β”€ getters.ts
β”‚   β”‚   β”œβ”€β”€ index.ts
β”‚   β”‚   β”œβ”€β”€ interface.ts
β”‚   β”‚   β”œβ”€β”€ mutations-types.ts
β”‚   β”‚   β”œβ”€β”€ mutations.ts
β”‚   β”‚   └── states.ts
β”‚   β”‚
β”‚   β”œβ”€β”€ /views
β”‚   β”‚   β”œβ”€β”€ About.vue
β”‚   β”‚   └── Home.vue
β”‚   β”‚
β”‚   β”œβ”€β”€ App.vue
β”‚   β”œβ”€β”€ main.ts
β”‚   β”œβ”€β”€ shims-tsx.d.ts
β”‚   β”œβ”€β”€ shims-vue.d.ts
β”‚   └── types.d.ts
β”‚
β”œβ”€β”€ .browserslistrc
β”œβ”€β”€ .dockerignore
β”œβ”€β”€ .editorconfig
β”œβ”€β”€ .eslintrc.js
β”œβ”€β”€ .gitignore
β”œβ”€β”€ babel.config.js
β”œβ”€β”€ docker-compose.yml
β”œβ”€β”€ Dockerfile
β”œβ”€β”€ Makefile
β”œβ”€β”€ nginx.conf
β”œβ”€β”€ package.json
└── tsconfig.json

πŸ“¬ Recommended Commit Message

When Commit Message
Add function ⚑️ Add function
Fix bug 🐞 Fix bug
Refactoring πŸ›  Refactoring
Add package πŸ“¦ Add package
Fix readme πŸ“š Fix readme
Improvements style πŸ‘ Improvements style
New Releases πŸŽ‰ Releases

πŸ’³ License

MIT

🀝 Contributors