https://github.com/terrymun/vuejs-with-css-variables
Demo pages for using CSS variables in VueJS
https://github.com/terrymun/vuejs-with-css-variables
Last synced: 5 months ago
JSON representation
Demo pages for using CSS variables in VueJS
- Host: GitHub
- URL: https://github.com/terrymun/vuejs-with-css-variables
- Owner: terrymun
- Created: 2019-04-29T08:00:09.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-05-03T07:37:42.000Z (about 7 years ago)
- Last Synced: 2025-10-09T07:06:42.956Z (10 months ago)
- Language: Vue
- Size: 1.32 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Supercharging VueJS with CSS variables
👉 **[View the demo page](https://terrymun.github.io/vuejs-with-css-variables/)** 👈
This repository contains a Vue CLI-powered application used to demonstrate how you can use CSS variables with VueJS.
The slides from my talk at the Aarhus Vue.js event on May 2, 2019 [can be found here](http://slides.com/terrymun/vuejs-with-css-variables).
## Note
If you want to test this repo out, you can simply do:
```
npm install
npm run serve
```
If you're planning to deploy this page to your own GitHub pages (by running `npm run deploy`), please remember to do the following **if you are renaming this repo**, as that changes the absolute file path injected into the production build:
* Update the `publicPath` property in [`vue.config.js`](./vue.config.js)
* Update the `base` property in [`router.ts`](./src/router.ts)