• Stars
    star
    137
  • Rank 266,121 (Top 6 %)
  • Language
    TypeScript
  • License
    MIT License
  • Created about 3 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

@vitejs + @vuejs 3+@Vuetifyjs 3

Vue 3 + Typescript + Vite + Vuetify 3.3

logo

This template should help get you started developing with Vue 3 and Typescript in Vite. The template uses Vue 3 <script setup> SFCs, check out the script setup docs to learn more.

Includes vue-router and Pinia 1.

In addition, ESLint, Stylelint, and Prettier are also included and are set to be executed automatically at runtime and commit. (Since these settings are set strictly, please relax yourself.)

Also, when the development server is executed, it is checked in real time by vite-plugin-checker.

First define VITE_APP_TITLE in your .env file.

Important Notice

As of 3.3.0, TypeScript5 support is not sufficient due to problems on the Vuetify side. For this reason, you should add // @ts-expect-error before any import statements, such as when calling the useTheme() function.

Also, the first time you run a unit test, you will always get an error. Press a to rerun and the test will pass.

Recommended IDE Setup

VSCode + Volar (and disable Vetur).

And use Volar Takeover Mode for better performance.

Commands

It is designed to be close to create-vue commands.

Command Description
dev Start devserver.
clean Clear devserver cache.
type-check Check vue markup.
lint Run ESLint and prettier.
lint:style Run Stylelint.
test Run vitest
test:unit Run Unit test
coverage Output Coverage Report.
build Build for production.
build:analyze Execute Bundle Analyzer
build:clean Clear production build files.
build-only Build for production without checking. For Deploy use.
preview Run the program generated by the production build.

Type Support For .vue Imports in TS

Since TypeScript cannot handle type information for .vue imports, they are shimmed to be a generic Vue component type by default. In most cases this is fine if you don't really care about component prop types outside of templates. However, if you wish to get actual prop types in .vue imports (for example to get props validation when using manual h(...) calls), you can enable Volar's .vue type support plugin by running Volar: Switch TS Plugin on/off from VSCode command palette.

Troubleshooting

When adding or deleting files, an error may occur and even if the error is corrected, it may not be reflected in devserver. In that case, stop devserver and delete all the files in the node_modules/.vite directory. You can also run it with the clean command.

Npm Scripts outputs MODULE_NOT_FOUND.

Due to yarn issues, it may not work properly if the path contains non-ASCII characters (such as 日本語 or 한국어, 中文 etc.).

Checklist

When you use this template, try follow the checklist to update your info properly

  • Change the author name in LICENSE
  • Change the favicon in public
  • Remove the .github folder which contains the funding info
  • Clean up the READMEs and remove routes

See Also

Footnotes

  1. Pinia is the recommended state management library to replace Vuex in the next Vue. see https://github.com/vuejs/rfcs/discussions/270#discussioncomment-2066856

More Repositories

1

vite-vue2-vuetify-ts-starter

@vitejs template for @vuejs 2+@vuetifyjs+TypeScript
Vue
84
star
2

vue-codemirror6

⌨️ @codemirror 6 component for @vuejs. Vue2 & Vue3 both supported.
TypeScript
78
star
3

MabiPack

Mabinogi Package File Management Tool. Multi-language support in Chinese, English, Japanese and Korean.
C#
49
star
4

TvCas

TVTestのCasProcessor.tvtpプラグインから地上波および衛星放送のCAS処理呼び出すためのライブラリ。
C++
40
star
5

pukiwiki_adv

PukiWiki Adv is the derivation version of PukiWiki. This distribution specializes in modern technology, such as ajax, HTML5+CSS3, and RIA.
PHP
39
star
6

vite-vue2-ts-starter

@vitejs for @vuejs 2 Startar project
Vue
30
star
7

MabiMmlEmu

Web Browser based Mabinogi MML Player (same as client instrument)
HTML
18
star
8

laravel9-vite-vue2-starter

@Vuejs 2 for @Laravel 10
PHP
15
star
9

Reverb.js

Append reverb effect to audio source.
HTML
12
star
10

NgsPacker

Pack and Unpack tool for PSO2NGS game data.
C#
12
star
11

icecast2-bootstrap-theme

Bootstrap theme for @xiph 's Icecast2. same as icecast2 license
XSLT
12
star
12

PSGConverter

PSGConverter is converting Mabinogi MML to MIDI script written PHP and JavaScript. see also http://logue.github.com/MabiMmlEmu/
JavaScript
7
star
13

MabinogiResource

Mabinogi *.pack file management APIs. fork from http://code.google.com/p/mabinogiresource/
C++
6
star
14

vuetify-swatches

Color Swatch component for Vuetify.
Vue
5
star
15

LukiWiki

PukiWiki Adv.を0から書き直しています。(文法はMarkdown風です。コンバーターも付属)たぶん、これも0から作り直し
PHP
5
star
16

MabiLauncher

MabiLauncher Plus is Light weight custom Mabinogi launcher. Multi-language support in English, Japanese, Korean, Chinese.
C#
5
star
17

vue-markdown-wasm

markdown-wasm for Vue2 & 3
Vue
4
star
18

php2chbbs

2ch風掲示板(仮)
PHP
4
star
19

JSMML

※このプログラムは時代遅れです。https://github.com/carborane3/FlMMLonHTML5 を参照してください。FLMMLのJavaScript版。おー氏のオリジナル移植版はmasterブランチ。LinearDrive氏の改造版はcostomizedブランチ
ActionScript
4
star
20

symbol-art-parser

Phantasy Star Online 2 New Genesis Symbol Art file (*.sar) parser class.
TypeScript
3
star
21

alephone_jp

AlephOne日本語版のソースコード。最新版はdevブランチ
C++
3
star
22

Pip-BoyA

Fallout76 Map site (or Electron application)
Vue
3
star
23

WpfTemplate

MahApps.Metro + Unity + Prism 7 + i18n Template
C#
2
star
24

JS-File-Class

These are file management script for .hta (Html Aplication). I made it for IE, but FireFox can be used why.
JavaScript
2
star
25

vue-gts-starter

Google GTS compliant Vue starter project
Vue
2
star
26

vite-vue2-ts-ssr-starter

vite-vue2-ts-starter SSR (Server Side Rendering) version.
TypeScript
2
star
27

Pso2Packer

PSO2のクライアントで読み込めるICE形式のファイルを、開いたり作成したりするためのプログラム。
C++
2
star
28

Pso2LogViewer

C#
1
star
29

vue-inertia-composable

Vue2 @Inertiajs wrapper library for @vue/composition-api
TypeScript
1
star
30

vite-vue3-ts-starter

@vuejs 3 + @Vitejs Starter
Vue
1
star
31

springboot-activejdbc

Spring Boot + Active JDBC Domain Driven Development Startar project
Java
1
star
32

Wml2WebMidiApi

This is to be played by using the Web MIDI API an application that was made for WebMidiLink.
1
star
33

logue.github.io

これはlogue.devの中身です。ティザーサイトなのでStart BootstrapのStylish Portfolioを流用した手抜き仕様です。
CSS
1
star