https://github.com/skysign/vuejs-sqljs-boilerplate
This is a boilerplate to use both Vue.js and sql.js together
https://github.com/skysign/vuejs-sqljs-boilerplate
Last synced: 5 months ago
JSON representation
This is a boilerplate to use both Vue.js and sql.js together
- Host: GitHub
- URL: https://github.com/skysign/vuejs-sqljs-boilerplate
- Owner: skysign
- License: apache-2.0
- Created: 2019-01-11T21:37:53.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-01-12T00:03:57.000Z (almost 7 years ago)
- Last Synced: 2024-05-05T13:32:30.908Z (over 1 year ago)
- Language: JavaScript
- Size: 132 KB
- Stars: 10
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-vue - vuejs-sqljs-boilerplate - This is a boilerplate to use both Vue.js and sql.js together ` 📝 2 years ago ` (Examples [🔝](#readme))
- awesome-vue - vuejs-sqljs-boilerplate ★0 - This is a boilerplate to use both Vue.js and sql.js together (Awesome Vue.js [ ★101652](https://github.com/sindresorhus/awesome) / Examples)
- awesome-vue - vuejs-sqljs-boilerplate - This is a boilerplate to use both Vue.js and sql.js together (Resources / Examples)
- awesome-vue - vuejs-sqljs-boilerplate - This is a boilerplate to use both Vue.js and sql.js together (Awesome Vue.js [](https://github.com/sindresorhus/awesome) / Examples)
README
# vuejs-sqljs-boilerplate
This is a boilerplate to use both [Vue.js](https://vuejs.org/) and [sql.js](https://github.com/kripken/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/vuejs-sqljs-boilerplate