typescript-vue-starter

๐Ÿš€ TypeScript VueJs Starter

MIT License

Downloads
21
Stars
8

Vue.js with TypeScript's application generator.

๐Ÿง 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

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

Package Rankings
Top 28.02% on Npmjs.org
Related Projects