Skip to content

Vue 3 + Vite + Pinia + Router + Tailwind + Pug + ESLint template. Precreated default pages with Mobile first. Convert to android & iOS app via Capacitor.

Notifications You must be signed in to change notification settings

FlameArt/vuestarter

Repository files navigation

Vue 3 + Vite + Pinia + Router + Tailwind + Pug + Typescript template

Hello, world!

That starter for rapid prototyping a services. Start with

git clone https://github.com/FlameArt/vuestarter.git ./projectName

Under the hood

  • Vite
  • Vue 3 [via composition api]
  • Typescript
  • Pinia as state manager
  • Vue Router 4
  • Tailwind as css framework
  • Pug as html framework
  • ESLint
  • Capacitor as converter to Android and iOS apps
  • VSCode ready with Volar
  • FlameREST attached
  • Precreated Signup, Auth and Password Reset pages

iOS build setup

  1. Install XCode: https://apps.apple.com/us/app/xcode/id497799835

  2. Cocopoads

     sudo gem install cocoapods
    
  3. Homebrew

     /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
    
  4. Node

     brew install node
    

Push notifications

Enable capabilities in Apple Connect for app and in XCode:

  1. Click on your workspace name
  2. Select your project in the target list
  3. Select Signing & Capabilities
  4. Click the +Capability button
  5. Add Push Notifications and Background Modes -> (Remote notifications) from the list.

Android build setup

  1. Install Android Studio
  2. Install node

VSCode improvements

Pug-lexer in Volar doesn`t support all tailwind functions currently. So you need to apply fix pugjs/pug#3373

OR just fix the Volar extension directly in %USERNAME%/.vscode/extensions/vue.volar-VERSION/dist/node/server.js that

(/^\.([_a-z0-9\-]*[_a-z][_a-z0-9\-]*)/i, 'class');

to that

(/^\.([_a-z0-9\-]*[_a-z]([_a-z0-9\-\[\]]|:(?! ))*)/i, 'class');

Compilation works fine without any fixes

Licenses

MIT

About

Vue 3 + Vite + Pinia + Router + Tailwind + Pug + ESLint template. Precreated default pages with Mobile first. Convert to android & iOS app via Capacitor.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published