Install all packages and dependencies
$ pnpm installThen start the application
$ pnpm devOpen http://localhost:3000 to view it in the browser.
In the project directory, you can run:
Builds the app for production to the dist folder.
It correctly bundles Solid in production mode and
optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
More script, read the package.json file
You can deploy the dist folder to any static host provider (netlify, surge, now, etc.)
-
π¨ UnoCSS - the instant on-demand atomic CSS engine
-
π₯ Use the new
<script setup>syntax -
π€π» Reactivity Transform enabled
-
π₯ APIs auto importing - use Composition API and others directly
-
π¦ Critical CSS via critters
-
π¦Ύ TypeScript, of course
-
βοΈ Unit Testing with Vitest, E2E Testing with Cypress on GitHub Actions
- UnoCSS - The instant on-demand atomic CSS engine.
- Iconify - use icons from any icon sets πIcΓ΄nes
- Pure CSS Icons via UnoCSS
- Vue Router
- Pinia - Intuitive, type safe, light and flexible Store for Vue using the composition api
unplugin-vue-components- components auto importunplugin-auto-import- Directly use Vue Composition API and others without importing- VueUse - collection of useful composition APIs
@vueuse/head- manipulate document head reactively
- Use Composition API with
<script setup>SFC syntax - ESLint
- TypeScript
- Vitest - Unit testing powered by Vite
- pnpm - fast, disk space efficient package manager
- VS Code Extensions
- Vite - Fire up Vite server automatically
- Volar - Vue 3
<script setup>IDE support - Iconify IntelliSense - Icon inline display and autocomplete
- ESLint
- VS Code + Volar (and disable Vetur) + TypeScript Vue Plugin (Volar).
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:
- Disable the built-in TypeScript Extension
- Run
Extensions: Show Built-in Extensionsfrom VSCode's command palette - Find
TypeScript and JavaScript Language Features, right click and selectDisable (Workspace)
- Run
- Reload the VSCode window by running
Developer: Reload Windowfrom the command palette.