Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nuxt vuesax project: Seems missing Montserrat font #242

Closed
cocodrino opened this issue Sep 17, 2018 · 2 comments

Comments

@cocodrino
Copy link

commented Sep 17, 2018

Hi guys, I'm trying to use vuesax inside my nuxt project, the components are imported ok and seems work right, but the font doesn't look good

check the image
deepinscreenshot_seleccionar area_20180917114240

I notice that this code is missing in my project

h1, h2, h3, h4, h5, h6 {
    font-family: MontserratThin;
}

my project is really basic right now...I created the plugin vuesax with this code inside

import Vue from 'vue'
import Vuesax from 'vuesax'
import 'material-icons/iconfont/material-icons.css';


import 'vuesax/dist/vuesax.css' //vuesax styles
Vue.use(Vuesax, {
    server:true,
    theme:{
      colors:{
        primary:'#5b3cc4',
        success:'rgb(23, 201, 100)',
        danger:'rgb(242, 19, 93)',
        warning:'rgb(255, 130, 0)',
        dark:'rgb(36, 33, 69)'
      }
    }
})

and my nuxt config

plugins: [
    '~/plugins/vuesax',
  ],

also I think that would be great if you can include a template inside create-nuxt-app or at least https://github.com/nuxt/nuxt.js/tree/dev/examples...

thank you!!!

@luisDanielRoviraContreras

This comment has been minimized.

Copy link
Member

commented Sep 17, 2018

We are going to make a template when we have a bit more mature components and framework structure

To change the primary colors you can do it with the Stylus variables so that it can work in SSR

@luisDanielRoviraContreras

This comment has been minimized.

Copy link
Member

commented Oct 18, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.