• Stars
    star
    7,782
  • Rank 4,878 (Top 0.1 %)
  • Language SCSS
  • Created over 6 years ago
  • Updated 6 months ago

Reviews

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

Repository Details

An ever-evolving, very opinionated architecture and dev environment for new Vue SPA projects using Vue CLI.

Vue Enterprise Boilerplate v3 (alpha)

This repo is currently in active development and considered in alpha release.

This is an ever-evolving, opinionated architecture and dev environment for new Vue 3 + Vite SPA projects using create-vue.

๐ŸŽฉ A huge thanks to Chris Fritz for the incredible work that this work builds upon. For those looking for his version, see this branch for the original Vue 2 enterprise boilerplate.

Recommended IDE Setup

VSCode + Volar (and disable Vetur) + TypeScript Vue Plugin (Volar).

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.

Project Setup

npm install

Compile and Hot-Reload for Development

npm run dev

Type-Check, Compile and Minify for Production

npm run build

Run Unit Tests with Vitest

npm run test:unit

Run End-to-End Tests with Playwright

# Install browsers for the first run
npx playwright install

# When testing on CI, must build the project first
npm run build

# Runs the end-to-end tests
npm run test:e2e
# Runs the tests only on Chromium
npm run test:e2e -- --project=chromium
# Runs the tests of a specific file
npm run test:e2e -- tests/example.spec.ts
# Runs the tests in debug mode
npm run test:e2e -- --debug

Lint with ESLint

npm run lint

More Repositories

1

vuepress-blog-boilerplate

An ever-evolving and opinionated dev environment for people who want to use VuePress to power their blogs.
Vue
217
star
2

bens-obsidian-boilerplate

An opinionated kit to provide people some inspiration and ideas for their own workflows.
JavaScript
183
star
3

cssdevconf2017

A repo for my notes from CSS Dev Conf 2017
49
star
4

production-grade-vue

Resources for Frontend Masters Workshop: Production-Grade Vue
Vue
43
star
5

shopify-nuxt-kit

Netlify + Shopify + Nuxt Demo
JavaScript
41
star
6

obsidian-night-owl-theme

An Obsidian theme inspired by the original Night Owl VS Code Theme by Sarah Drasner!
SCSS
40
star
7

complete-intro-to-vue-3-workshop

HTML
36
star
8

bens-blog-boilerplate

An open-sourced opinionated blogging infrastructure that Ben uses to power his own blog
Vue
23
star
9

typescript-and-vue-workshop

Vue
22
star
10

vuejs-101-workshop

Sandbox and resources for Vue.js 101 Workshop
HTML
19
star
11

nuxt-notion-demo

Vue
16
star
12

vueconf-us-2018

Notes from VueConf.US 2018 conference and workshop
14
star
13

peek-a-vue

Halloween themed card matching game using Composition API
Vue
14
star
14

vuepress-starter-kit

A sample project to let you see what makes VuePress so great!
13
star
15

vite-v3-ts-lab

Vue
13
star
16

bencodezen

The source code for my personal site
CSS
10
star
17

nuxt-3-fundamentals-workshop

9
star
18

proven-patterns-workshop

Vue
6
star
19

nuxt-3-trello-mvp

Trello MVP Clone with Nuxt 3 (Beta)
Vue
5
star
20

vue-command-palette-sandbox

Vue
5
star
21

vue-3-lab

Vue
5
star
22

vue-3-edge-functions-examples

Vue
5
star
23

nuxt-notion-blog

Vue
5
star
24

vue-your-todos

Vue
5
star
25

essential-vue-3-patterns-and-techniques

Vue
4
star
26

vuejs-100-workshop

Materials for VueJS 100 workshop / tutorial
JavaScript
4
star
27

nuxt-blog-starter-kit

A starter kit for developers who want to build their own blog with Nuxt.js!
JavaScript
3
star
28

remotely-interesting-cover-generator

Vue
3
star
29

obsidian-vue-plugin

TypeScript
3
star
30

firebase-with-vue-3-and-vuefire

firebase-with-vue-3-and-vuefire
Vue
3
star
31

cssdevconf2017-animation-workshop

My notes from CSS Dev Conf 2017: Animation Workshop
3
star
32

nextjs-blog-theme

JavaScript
3
star
33

obsidian-nuxt-content

Vue
2
star
34

bencodezen-twitch-scenes

Vue
2
star
35

netlify-nuxt-3-repo

2
star
36

alexa-game-keeper

An Alexa skill to serve as a companion to game nights!
JavaScript
2
star
37

egghead-digital-garden

Vue
2
star
38

obsidian-publish-vue

Vue
2
star
39

obsidian-tips

Vue
2
star
40

sanity-nuxt-events

Events with Nuxt.js
Vue
2
star
41

vite-vue-netlify-graph

Vue
2
star
42

vue-3-sandbox

Vue
2
star
43

build-with-ben-notion-and-vue

Vue
2
star
44

bencodezen-twitch-18

Vue
2
star
45

demo-restaurant-vue3-ts-contentful

Vue
2
star
46

vue-2-lab

Vue
2
star
47

vue-3-with-netlify-forms

Demo of Netlify Forms with Vue 3
Vue
2
star
48

simple-nuxt-image-demo

A simple demo for how powerful and easy Nuxt Image is to use
Vue
2
star
49

alexa-fact-skill

Experimentation with Alexa Fact Skill
JavaScript
1
star
50

nuxt-2-lab

1
star
51

nuxt-proxy-app

nuxt-proxy-app
TypeScript
1
star
52

vue-3-ts-lab

Vue
1
star
53

scalable-prop-patterns

Vue
1
star
54

bemmetcss

CSS
1
star
55

nuxt-3-supabase-todomvc

Vue
1
star
56

fem-reactjs-bholt

Work while following along Brian Holt's ReactJS course on Front End Masters
JavaScript
1
star
57

my-first-serverless-project

HTML
1
star
58

rust-lab

Rust
1
star
59

nuxt-2-demo

Vue
1
star
60

vue-vite-pokedex

Vue
1
star
61

react-lab

A place for research and experimentation with React.js
JavaScript
1
star
62

hackclub-vue-3-demo

Vue
1
star
63

unofficial-vuepress-guide

The unofficial guide to VuePress
1
star
64

coding-styleguide

An accumulation of ideas and best principles I use in my work
1
star
65

composition-api-counter

Vue
1
star
66

nuxt-earthquake-demo

Vue
1
star
67

effortless-effort

Vue
1
star
68

vue-need-a-budget

1
star
69

build-with-ben-23

Vue
1
star
70

hello-vuejs

A hello world demo of how amazing Vue.js is
JavaScript
1
star
71

vuepress-default-theme

Provides developers a baseline theme without ejecting.
Vue
1
star
72

vuepress-plugin-janitor

Cleans up your build files after you've finished generating them
JavaScript
1
star
73

vuepets

JavaScript
1
star
74

alexa-go-quiz-skill

A quiz on Alexa about go/baduk/weiqi!
JavaScript
1
star
75

vue-3-vite-netlify-template

Vue
1
star
76

vue-3-vite-lab

Vue
1
star
77

alexa-hello-world-skill

JavaScript
1
star
78

vue-serverless-pokedex

Vue
1
star
79

simple-nuxt-blog

Vue
1
star
80

nuxt-pokedex-demo

Demo of Nuxt 3 with Netlify Serverless Functions with PokeApi
Vue
1
star
81

vue-art-gallery

Source code for the Vue Art Gallery site
JavaScript
1
star
82

learn-python3-the-hard-way

A repo to track my exercises for the Learn the Python3 Hard Way series
Python
1
star