A demo of how Vue's scoped slots can be handy for progressive enhancement
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.
dist
public
src
.gitignore
.prettierrc
README.md
babel.config.js
package-lock.json
package.json

README.md

Progressively enhanced toggle panel

A little demo to show how we can use Vue Scoped Slots to progressively enhance a simple pattern. It hopefully shows how Vue can be sprinkled on existing markup, rather than having to go all in and fully render the front-end with JavaScript.

Live demo

Example GIF shows content transforming when JS is enabled in a browser

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Run your tests

npm run test

Lints and fixes files

npm run lint

Customize configuration

See Configuration Reference.