Giter Club home page Giter Club logo

srav001 / cross-vue Goto Github PK

View Code? Open in Web Editor NEW
48.0 2.0 8.0 1.19 MB

A Vue ๐Ÿ’š production ready ๐Ÿคฉ template for building bleeding edge ๐Ÿ˜Ž web apps for all platforms ๐Ÿ”ฅ

License: MIT License

JavaScript 29.99% HTML 1.37% Java 6.33% Rust 2.24% Vue 13.44% TypeScript 13.31% CSS 33.32%
ionic ionic-framework nodejs tauri tauri-app typescript vite vitejs vue vuejs vuejs3 pinia pinia-plugin android capacitor capacitorjs ios unocss

cross-vue's Introduction

An all-in-one starter pack

A Vue ๐Ÿ’š production ready ๐Ÿคฉ template for building bleeding edge ๐Ÿ˜Ž web apps for all platforms ๐ŸŒŸ. Has Capacitor ๐Ÿ“ฑ and Tauri ๐Ÿ’ป pre-configured and setup.

New in V2 :

  • Upgrade to Vue 3.4 and enable props-destructure.
  • Upgrade to Vite 5 and update dependencies.
  • Move to unlugin-vue-router for file based routing(From the author of Vue-router).
  • File based routing that works with Ionic Router, which adds transition between pages and back button navigation on mobile.
  • Use vite-tsconfig-paths for vite paths.
  • Update all scripts and project to use ESM.
  • Add auto-import with unplugin-auto-import - All vue exports, Vue router exports.

Planned for Later in V2:

  • Update UnoCSS to Tailwind v4(To benefit from Oxide Complier and other updates).

Why use this template ?

  • You might don't want to go through the hassle of setting up linter, formatter, router, store etc and still want the [latest vue].
  • If you use the ionic components as your base for components, in future you can build your web app as an android or ios app with Capacitor.
  • File structure based routing and UnoCSS for atomic css.
  • Capacitor is present for mobile and Tauri for desktops.
  • Eslint for linting and prettier for formatting files ( and yes both work combined without issues ).
  • Husky is setup and is being used for commit linting.
  • Vite is used for superior dev experience.
  • Setup so that, VS Code suggests all needed extensions for a good dev experience.
  • Live servers with dev-ios, dev-android & dev-tauri for easier dev experience.

Getting Started ๐Ÿคฉ

Note:

pnpm is used and recommended for this project. If any other package manager is used, please go through the scripts folder to modify as needed.

Run the command given below in the root directory

pnpm project-setup

Custom Scripts:

All custom scripts with brief comments can be found in scripts directory. All of them have been added to package.json to be invoked.

Note:

This project will be updated yearly, updating all dependencies to the latest version and maybe even replace some tech for newer and better ones or remove deprecated ones.

cross-vue's People

Contributors

srav001 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

cross-vue's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.