Skip to content
📦 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.
JavaScript HTML Vue
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
build
config
dist
src
static
test
.babelrc
.editorconfig
.eslintignore
.eslintrc.js
.gitattributes
.gitignore
.postcssrc.js
README.md
index-app.html
index.html
package.json
yarn.lock

README.md

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

You can’t perform that action at this time.