Skip to content
This repository has been archived by the owner on Jul 30, 2021. It is now read-only.

nuxtpress prismjs themes #69

Open
mrlnnl opened this issue Sep 29, 2019 · 0 comments
Open

nuxtpress prismjs themes #69

mrlnnl opened this issue Sep 29, 2019 · 0 comments
Assignees

Comments

@mrlnnl
Copy link

mrlnnl commented Sep 29, 2019

How can I configure nuxt press to use a different prismjs theme as the default? I would like to use coy. By adding it to nuxt.config.js?

I tried by adding it to nuxt.config.js, but it doesn't work:

export default {
    modules: [
		['@nuxt/press', 'blog'],
		'nuxt-purgecss',
		'nuxt-webfontloader'
    ],
    css: [
        'prismjs/themes/prismjs-coy.css'
    ],
	server: {
		host: '0.0.0.0'
	},
	webfontloader: {
		google: {
			families: ['Dosis:400,700']
		}
	}
}
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants