fes-starter
A fes.js + Vite + TypeScript starter template.
Checkout the single-page
branch for single page apps like dashboards (no Vue Router)
Technology stack
β‘οΈ Vue 3, fes.js, Vite 3 - born with fastnessπ¦ pnpm for efficient package managementπ¦Ύ TypeScriptβ JSX/TSX (optional, to replace Vue's template syntax)π₯ Use the new<script setup>
syntax- π€π» Reactivity Transform enabled
π₯ APIs auto importing - use Composition API and others directlyπ¦ Components auto importingπ Component Preview and jump to codeπ Pinia - state managementποΈ SASS with SCSS syntax for stylingπ§° Element Plus - component libraryπ¨ UnoCSS - the instant on-demand atomic CSS engineπ Pure CSS icons with UnoCSS - Use icons from any icon sets with classesπ οΈ VueUse - collection of useful composition APIsπͺ Lefthook for linting codes on commitβοΈ ESLint with @daotl/eslint-config-vue for lintingβοΈ Prettier with @daotl/prettier-config for code formattingβοΈ Stylelint for linting CSS and SCSS
Project setup
npm install -g @fesjs/create-fes-app
pnpm install
Compiles and hot-reloads for development
npm run dev
Compiles and minifies for production
npm run prod
Lint & fix
npm run lint
npm run lint:fix
See Fes.js CLI docs and package.json for more.
Guides & References
Must-read
Read the following must-read to understand the technology stack of this template.
- Fes.js Docs
- <script setup> RFC
- What is Vue 3 Reactivity?
- Vue 3 Reactivity API
- Vue 3 Composition API
- Vue 3 TypeScript Support
- Using Vue 3 with JSX and TypeScript
- Vue Style Guide