vue2-foundation
Vue 2.x component wrappers for Foundation 6 widgets
Usage
Install the package.
npm i vue2-foundation --save
npm i node-sass --save-dev
Add an alias in your webpack configuration for the components:
moduleexports =resolve:alias:'vf': 'vue2-foundation/components'
Load the Foundation Javascript and SCSS code:
loadFoundation.scss:
@import '../node_modules/foundation-sites/scss/foundation';@include foundation-everything()
main.js:
;
Import and use the components in a .vue file:
Settings
Building the documentation website
# install dependenciesnpm install# serve with hot reload at localhost:8080npm run dev# build for production with minificationnpm run build
LICENSE
Copyright (c) 2016-2017 PointSource, LLC. MIT Licensed