Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

feat: add chakra-ui-vue #573

Merged
merged 11 commits into from
Jul 27, 2020
Merged

Conversation

Easybuoy
Copy link
Contributor

Added chakra-ui-vue ui library

https://vue.chakra-ui.com

Copy link

@codebender828 codebender828 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for this initiative @Easybuoy !

I've requested a couple of changes that will involve using the @chakra-ui/nuxt module instead of the plug-in. (For less boiler plate) I've highlighted the necessary changes.

I'll also be revisiting the module today to make sure it works as planned in a couple of hours.

♥️🙏🏽 I'll also be available online on Discord in a couple of hours so we can chat if you need to! Cheers!

@@ -0,0 +1,7 @@
{
"dependencies": {
"@chakra-ui/vue": "^0.6.0",

This comment was marked as resolved.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The documentation also says we need to install the @nuxtjs/emotion package as well, I also tested on code sandbox, and it seemed to work smoothly with the@nuxtjs/emotion module added

This comment was marked as resolved.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks 👍🏽

@@ -0,0 +1,168 @@
<template>
<div class="container">

This comment was marked as resolved.

@@ -0,0 +1,4 @@
import Vue from 'vue'

This comment was marked as resolved.

<%_ } else if (ui === 'chakra-ui') { _%>
// Doc: https://github.com/nuxt-community/emotion-module#readme
'@nuxtjs/emotion',
<%_ } _%>

This comment was marked as resolved.

@@ -70,7 +70,9 @@ export default {
'@/plugins/framevuerk'
<%_ } else if (ui === 'vuesax') { _%>
'@/plugins/vuesax'
<%_ } _%>
<%_ } else if (ui === 'chakra-ui') { _%>
'@/plugins/chakra-ui'

This comment was marked as resolved.

** Plugins to load before mounting the App␊
** https://nuxtjs.org/guide/plugins␊
*/␊
plugins: [␊

This comment was marked as resolved.

modules: [␊
// Doc: https://github.com/nuxt-community/emotion-module#readme␊
'@nuxtjs/emotion',␊
],␊

This comment was marked as resolved.

Copy link

@codebender828 codebender828 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @Easybuoy ! Nice and clean! can't wait to see this shipped 🚀

@clarkdo clarkdo merged commit c9ede63 into nuxt:master Jul 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants