JSPM

vuejs-sqljs-boilerplate

0.1.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 29
  • Score
    100M100P100Q43450F
  • License ISC

This is a boilerplate to use both vue.js and sql.js together

Package Exports

  • vuejs-sqljs-boilerplate

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (vuejs-sqljs-boilerplate) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

vuejs-sqljs-boilerplate

This is a boilerplate to use both Vue.js and sql.js together

Example sqlite db file is in src/assets/mytest.db

This will load mytest.db into vue.js and rows in sqlite database, are displayed in helloworld component.

Not only this example shows how we use Vuex store to load db file from server, But also, we can see how vue component and Vuex store interact each other.

Build Setup

install dependencies

npm install

serve with hot reload at localhost:8080

npm run dev

github

https://github.com/skysign/public/tree/master/vue.js/boilerplate/vuejs-sqljs-boilerplate/