Giter VIP home page Giter VIP logo

xui-module's Introduction

xui-module

npm (scoped with tag) npm CircleCI Codecov Dependencies

js-standard-style

Light module to help design websites with Nuxt. demo source

๐Ÿ“– Release Notes

Features

This module install several libraries to make designing a website with Vue and Nuxt easy, including:

Setup

  • Add xui-module dependency using yarn or npm to your project
yarn add xui-module

or

npm install xui-module --save
  • Add xui-module to modules section of nuxt.config.js
{
  modules: [
    // Simple usage
    'xui-module',

    // With options
    ['xui-module', { /* module options */ }],
 ]
}
  • If needed, add sass-loader
yarn add sass-loader node-sass

or

npm install sass-loader node-sass --save-dev

Module Options

You can parametrize Xui-module with these variables:

  • 'bulma'
  • 'mdi'
  • 'animate.css'
  • 'hover.css'
  • 'animate'
  • 'spacing'
  • 'vue-in-viewport-directive'
  • 'vue-scrollactive'
  • 'vue-headroom'

example:

{
  'bulma': {
    options: { /* bulma options */ }
  },
  'mdi': {
    active: false // Do not load Material Design Icons
  },
  'vue-scrollactive': {
    ssr: false // Turn off ssr for vue-scrollactive
  }
}

License

MIT License

Copyright (c) Meta [email protected]

xui-module's People

Contributors

metacorp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

xui-module's Issues

Bulma doesn't load css

Just add xui to a new nuxt project. I added the module and the css in the nuxt.conf.js.

css: [
    '@/assets/main.sass',
    { src: 'font-awesome/scss/font-awesome.scss', lang: 'scss' }
  ],
modules: [
    'xui-module'
  ]

When I try to load a simple hero section (copy/paste example from bulma documentation) I don't have the attended result.

There is anything to add ?

PS: Also you can add the little fix for bulma's warning about postcss in your how-to ;)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.