Skip to content
This repository has been archived by the owner. It is now read-only.

πŸ“¦ Linx.vue is a vue boilerplate to create applications that run on Web, Mobile Phones and Standalone Devices in one go. Not updating. You may use Qasar or cordova-electron.

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
app
 
 
 
 
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

In a short period, it won't be continued, to find a good framework, you may see Quasar or cordova-electron

linx.vue


Linx.vue is a boilerplate to create applications that run on Web, Mobile Phones and Standalone Devices in one go.

Setup automatically

vue init scris/linx.vuetemplate myproj
yarn
cd app
yarn
cordova platform add ios
cordova platform add android
cordova platform add browser

After setting up

Now it is time to build your web app. Just use it like using vue-cli 3. You will find it easy to use.

You can use process.env.LINX_AGENT to get which kind of devices is the user currently using. if you get electron , do things in standalone devices. if you get cordova, do things in mobile phones. if you get other answers or get nothing, mark it as in the web environment.

If you wanna make some changes for electron, go to see dist/electron.js as the main part and dist/renderer.electron.js as the renderer part.

Commands

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report

# run unit tests
npm run unit

# run e2e tests
npm run e2e

# run all tests
npm test

# build for Cordova (Browser)
npm run cbrowser

# build for iOS
npm run cios

# build for Android
npm run candroid

# run Electron tests
npm run edev

# build for Mac X64
npm run emac

# build for Windows X64
npm run ewin

# build for Linux X64
npm run elinux

Dominik Qiu from Scris Studio

About

πŸ“¦ Linx.vue is a vue boilerplate to create applications that run on Web, Mobile Phones and Standalone Devices in one go. Not updating. You may use Qasar or cordova-electron.

Topics

Resources

Packages

No packages published