Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/faisaltheparttimecoder/bulma-vuejs-demo-website
A demo website based on framework Bulma (css) & vuejs (JS)
https://github.com/faisaltheparttimecoder/bulma-vuejs-demo-website
bulma demo demo-website example template vuejs
Last synced: 19 days ago
JSON representation
A demo website based on framework Bulma (css) & vuejs (JS)
- Host: GitHub
- URL: https://github.com/faisaltheparttimecoder/bulma-vuejs-demo-website
- Owner: faisaltheparttimecoder
- License: mit
- Created: 2018-03-04T09:56:11.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-03-24T13:38:10.000Z (about 1 year ago)
- Last Synced: 2024-02-02T05:16:14.886Z (4 months ago)
- Topics: bulma, demo, demo-website, example, template, vuejs
- Language: Vue
- Homepage: https://bulma-vuejs-demo.herokuapp.com/
- Size: 297 KB
- Stars: 50
- Watchers: 4
- Forks: 17
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Lists
- awesome-vue - Vue Bulma Demo - A simple demo website to check out Bulma / Vue JS & express in conjunction. (Resources / Examples)
- awesome-vue - Vue Bulma Demo - A simple demo website to check out Bulma / Vue JS & express in conjunction. (Resources / Examples)
- awesome-vue - Vue Bulma Demo - A simple demo website to check out Bulma / Vue JS & express in conjunction. (Resources / Examples)
- awesome-vue - Vue Bulma Demo - A simple demo website to check out Bulma / Vue JS & express in conjunction. (Resources / Examples)
- awesome-vue - Vue Bulma Demo - A simple demo website to check out Bulma / Vue JS & express in conjunction. (Resources / Examples)
- awesome-vue - Vue Bulma Demo - A simple demo website to check out Bulma / Vue JS & express in conjunction. (Resources / Examples)
- awesome-vue - Vue Bulma Demo - A simple demo website to check out Bulma / Vue JS & express in conjunction. (Resources / Examples)
- awesome-vue - Vue Bulma Demo - A simple demo website to check out Bulma / Vue JS & express in conjunction. (Resources / Examples)
- awesome-vue - Vue Bulma Demo - A simple demo website to check out Bulma / Vue JS & express in conjunction. (Awesome Vue.js [![Awesome](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg)](https://github.com/sindresorhus/awesome) / Examples)
- awesome-vue - Vue Bulma Demo ★24 - A simple demo website to check out Bulma / Vue JS & express in conjunction. (Awesome Vue.js [![Awesome](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg) ★101652](https://github.com/sindresorhus/awesome) / Examples)
- awesome-vue - Vue Bulma Demo - A simple demo website to check out Bulma / Vue JS & express in conjunction. (Awesome Vue.js [![Awesome](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg)](https://github.com/sindresorhus/awesome) / Examples)
- awesome-vue - Vue Bulma Demo - A simple demo website to check out Bulma / Vue JS & express in conjunction. (Awesome Vue.js [![Awesome](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg)](https://github.com/sindresorhus/awesome) / Examples)
- awesome-vue - Vue Bulma Demo - A simple demo website to check out Bulma / Vue JS & express in conjunction. (Resources / Examples)
- awesome-vue - Vue Bulma Demo - A simple demo website to check out Bulma / Vue JS & express in conjunction. (Resources / Examples)
README
# Introduction [![VueJS Version](https://img.shields.io/badge/VueJS-v2-green.svg?style=flat-square)](https://vuejs.org/) [![Bulma Version](https://img.shields.io/badge/Bulma-v0.6.2-orange.svg?style=flat-square)](https://bulma.io/) [![License](https://img.shields.io/badge/License-MIT-red.svg?style=flat-square)](https://github.com/faisaltheparttimecoder/bulma-vuejs-demo-website/blob/master/LICENSE)
My first hands on experience on learning the css library [Bulma](https://bulma.io/) & JS Framework [VueJS](https://vuejs.org/).
This demo website is a way to test out the features of the two libraries.# Demo
Please click [here](https://bulma-vuejs-demo.herokuapp.com/) for the demo website
# Build Setup / Installation
```
# clone the repository
git clone https://github.com/faisaltheparttimecoder/bulma-vuejs-demo-website.git# Navigate to the folder
cd bulma-vuejs-demo-website# install dependencies [ Navigate to the link https://nodejs.org/en/download/ if npm is not installed on your machine ]
npm install# run the website locally
npm run dev# Once started, on your browser navigate to the below URL
http://localhost:8080# build for production with minification
npm run build# build for production and view the bundle analyzer report
npm run build --report
```# Production run
+ VueJS router has issue with the "history" mode, more details [here](https://router.vuejs.org/en/essentials/history-mode.html)
+ To fix this, the server used is "express" server and used the "connect-history-api-fallback" to fallback, the configuration is on the file "server.js" which is part of the repo.
+ After the production build ```npm run build```, run the command ```node server.js``` to start the webserver and see if all the routes work perfectly.
+ When pushing to Heroku or Cloud foundry, make sure to change the line after the build ```npm run build``` is completed in the package.json file```"build": "node build/build.js"```
to
```"build": "node server.js"```
# Plugins Used
Most of the code are raw vueJS & Bulma CSS (that was the intention for learning purpose). The only plugin used are
+ [ChartKick](https://www.chartkick.com/vue) for charts
+ [vuetrend](https://cinwell.com/vue-trend/) for trend lines
+ [JsonPlaceHolder](https://jsonplaceholder.typicode.com/) for all the fake data.
+ [Templates](https://dansup.github.io/bulma-templates/) reference