All Projects → starkovsky → vue3-vite-ts

starkovsky / vue3-vite-ts

Licence: other
Vue 3 Scaffolding (Vite + TS + Linters + Jest + TailwindCSS)

Programming Languages

typescript
32286 projects
Vue
7211 projects
javascript
184084 projects - #8 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to vue3-vite-ts

taro3-vue3-template
一个基于 Taro3 和 Vue3 框架微信小程序模版。 核心技术采用Taro3、Vue3、TypeScript、NutUi、Vux4/Pinia、VueUse
Stars: ✭ 115 (+325.93%)
Mutual labels:  prettier, vue3, vue3-typescript
vue-next-admin
🎉🎉🔥基于vue3.x 、Typescript、vite、Element plus等,适配手机、平板、pc 的后台开源免费模板库(vue2.x请切换vue-prev-admin分支)
Stars: ✭ 1,002 (+3611.11%)
Mutual labels:  vue3, vue3-typescript
spec
🐣 easy to use eslint/stylelint/tslint/prettier/...
Stars: ✭ 60 (+122.22%)
Mutual labels:  stylelint, prettier
ultimate-hot-boilerplate
🚀 node-react universal app boilerplate with everything on hot reload, SSR, GraphQL, Flow included
Stars: ✭ 35 (+29.63%)
Mutual labels:  stylelint, prettier
Prettier Stylelint
code > prettier > stylelint > formatted code
Stars: ✭ 162 (+500%)
Mutual labels:  stylelint, prettier
Stylelint Prettier
Stylelint plugin for Prettier formatting
Stars: ✭ 188 (+596.3%)
Mutual labels:  stylelint, prettier
chengpeiquan.com
My personal website. Base on Vite 2.0 and Vue 3.0. If you want to know how to use Vite to develop a project, you can refer to this repository.
Stars: ✭ 43 (+59.26%)
Mutual labels:  vue3, vue3-typescript
React 2048 Game
🎮 A fancy 2048 game build with react, redux best practices.
Stars: ✭ 401 (+1385.19%)
Mutual labels:  stylelint, prettier
promotion-web
基于React: v18.x.x/Webpack: v5.x.x/React Router v6.x.x/ Antd: v5..x.x/Fetch Api/ Typescript: v4.x.x 等最新版本进行构建...
Stars: ✭ 374 (+1285.19%)
Mutual labels:  stylelint, prettier
website-template
静的Webサイト制作を少しモダンにするためのテンプレート
Stars: ✭ 62 (+129.63%)
Mutual labels:  stylelint, prettier
app
专门为互联网人打造的题解神器,神器在手,工作不愁
Stars: ✭ 64 (+137.04%)
Mutual labels:  vue3, vue3-typescript
Nextjs Ts
Opinionated Next JS project boilerplate with TypeScript and Redux
Stars: ✭ 134 (+396.3%)
Mutual labels:  stylelint, prettier
React Ssr Starter
All have been introduced React environment
Stars: ✭ 20 (-25.93%)
Mutual labels:  stylelint, prettier
2019-ncov-vue3-version
新型冠状病毒实时疫情 Vue-Compostion-Api版本 (Vue3 + TypeScript)
Stars: ✭ 55 (+103.7%)
Mutual labels:  vue3, vue3-typescript
React Mobx React Router Boilerplate
A simple boilerplate based on create-react-app and add mobx, react-router, linter, prettier and so on. 一个简单的 react 脚手架依赖于 create-react-app 新增了 mobx react-router,linter,prettier 等。
Stars: ✭ 12 (-55.56%)
Mutual labels:  stylelint, prettier
eslint-config-ns
ESLint config ready to be used in multiple projects. Based on Airbnb's code style with prettier, jest and react support.
Stars: ✭ 27 (+0%)
Mutual labels:  stylelint, prettier
react-component-library-lerna
Build your own React component library managed with lerna, presented with storybook and published in private npm registry.
Stars: ✭ 55 (+103.7%)
Mutual labels:  stylelint, prettier
Web Configs
Common configurations for building web apps at Shopify
Stars: ✭ 302 (+1018.52%)
Mutual labels:  stylelint, prettier
miter-design
Miter Design component library made with ♡ by Prefect
Stars: ✭ 14 (-48.15%)
Mutual labels:  vue3, vue3-typescript
fe-standard-config-seed
前端通用代码规范自动化接入
Stars: ✭ 18 (-33.33%)
Mutual labels:  stylelint, prettier

Vue 3 + Typescript + Vite

This template should help get you started developing with Vue 3 and Typescript in Vite.

Recommended IDE Setup

VSCode + Vetur. Make sure to enable vetur.experimental.templateInterpolationService in settings!

If Using <script setup>

<script setup> is a feature that is currently in RFC stage. To get proper IDE support for the syntax, use Volar instead of Vetur (and disable Vetur).

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 use the following:

If Using Volar

Run Volar: Switch TS Plugin on/off from VSCode command palette.

If Using Vetur

  1. Install and add @vuedx/typescript-plugin-vue to the plugins section in tsconfig.json
  2. Delete src/shims-vue.d.ts as it is no longer needed to provide module info to Typescript
  3. Open src/main.ts in VSCode
  4. Open the VSCode command palette 5. Search and run "Select TypeScript version" -> "Use workspace version"
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].