Skip to content

Repository files navigation

Framework poll

This is a small poll app for voting between Vue, React and Blazor using Websockets with Socket.io. The app itself is built with Vite, TypeScript Vue 3 and Tailwind.

Link: https://framework-poll-simoneldevig.netlify.app

Getting started

npm i

npm run dev
npm run server

Recommended IDE Setup

Type Support For .vue Imports in TS

TypeScript cannot handle type information for .vue imports by default, so we replace the tsc CLI with vue-tsc for type checking. In editors, we need TypeScript Vue Plugin (Volar) to make the TypeScript language service aware of .vue types.

If the standalone TypeScript plugin doesn't feel fast enough to you, Volar has also implemented a Take Over Mode that is more performant. You can enable it by the following steps:

  1. Disable the built-in TypeScript Extension
    1. Run Extensions: Show Built-in Extensions from VSCode's command palette
    2. Find TypeScript and JavaScript Language Features, right click and select Disable (Workspace)
  2. Reload the VSCode window by running Developer: Reload Window from the command palette.

About

This is a small poll app for voting between Vue, React and Blazor using Websockets with Socket.io.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages