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

Commit 371bb59

Browse files
authored
fix(ui): remove @nuxtjs/bulma (#695)
1 parent e8270ae commit 371bb59

File tree

6 files changed

+1
-114
lines changed

6 files changed

+1
-114
lines changed

README.md

-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ yarn create nuxt-app <my-project>
4242
- [BalmUI](https://material.balmjs.com/)
4343
- [Bootstrap](https://github.com/bootstrap-vue/bootstrap-vue)
4444
- [Buefy](https://buefy.org)
45-
- [Bulma](https://github.com/jgthms/bulma)
4645
- [Chakra UI](https://github.com/chakra-ui/chakra-ui-vue)
4746
- [Element](https://github.com/ElemeFE/element)
4847
- [Framevuerk](https://github.com/framevuerk/framevuerk)

packages/cna-template/template/frameworks/bulma/package.json

-5
This file was deleted.

packages/cna-template/template/nuxt/nuxt.config.js

+1-12
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,6 @@
105105
<%_ if (ui === 'bootstrap') { _%>
106106
// https://go.nuxtjs.dev/bootstrap
107107
'bootstrap-vue/nuxt',
108-
<%_ } else if (ui === 'bulma') { _%>
109-
// https://bulma.io
110-
'@nuxtjs/bulma',
111108
<%_ } else if (ui === 'buefy') { _%>
112109
// https://go.nuxtjs.dev/buefy
113110
'nuxt-buefy',
@@ -176,15 +173,7 @@
176173

177174
// Build Configuration: https://go.nuxtjs.dev/config-build
178175
build: {
179-
<%_ if (ui === 'bulma') { _%>
180-
postcss: {
181-
preset: {
182-
features: {
183-
customProperties: false
184-
}
185-
}
186-
},
187-
<%_ } else if (ui === 'element-ui') { _%>
176+
<%_ if (ui === 'element-ui') { _%>
188177
transpile: [/^element-ui/],
189178
<%_ } _%>
190179
}

packages/create-nuxt-app/lib/prompts.js

-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ module.exports = [
3535
{ name: 'BalmUI', value: 'balm-ui' },
3636
{ name: 'Bootstrap Vue', value: 'bootstrap' },
3737
{ name: 'Buefy', value: 'buefy' },
38-
{ name: 'Bulma', value: 'bulma' },
3938
{ name: 'Chakra UI', value: 'chakra-ui' },
4039
{ name: 'Element', value: 'element-ui' },
4140
{ name: 'Framevuerk', value: 'framevuerk' },

packages/create-nuxt-app/test/snapshots/index.test.js.md

-95
Original file line numberDiff line numberDiff line change
@@ -879,101 +879,6 @@ Generated by [AVA](https://avajs.dev).
879879
}␊
880880
`
881881

882-
## verify ui: Bulma
883-
884-
> Generated files
885-
886-
[
887-
'.editorconfig',
888-
'.gitignore',
889-
'README.md',
890-
'assets/README.md',
891-
'components/Logo.vue',
892-
'components/README.md',
893-
'layouts/README.md',
894-
'layouts/default.vue',
895-
'middleware/README.md',
896-
'nuxt.config.js',
897-
'package.json',
898-
'pages/README.md',
899-
'pages/index.vue',
900-
'plugins/README.md',
901-
'static/README.md',
902-
'static/favicon.ico',
903-
'store/README.md',
904-
]
905-
906-
> package.json
907-
908-
{
909-
dependencies: {
910-
'@nuxtjs/bulma': '^1.3.0',
911-
'core-js': '^3.8.2',
912-
nuxt: '^2.14.12',
913-
},
914-
devDependencies: {},
915-
private: true,
916-
scripts: {
917-
build: 'nuxt build',
918-
dev: 'nuxt',
919-
generate: 'nuxt generate',
920-
start: 'nuxt start',
921-
},
922-
}
923-
924-
> Generated nuxt.config.js
925-
926-
`export default {␊
927-
// Global page headers: https://go.nuxtjs.dev/config-head␊
928-
head: {␊
929-
title: 'output',␊
930-
htmlAttrs: {␊
931-
lang: 'en'␊
932-
},␊
933-
meta: [␊
934-
{ charset: 'utf-8' },␊
935-
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },␊
936-
{ hid: 'description', name: 'description', content: '' }␊
937-
],␊
938-
link: [␊
939-
{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }␊
940-
]␊
941-
},␊
942-
943-
// Global CSS: https://go.nuxtjs.dev/config-css␊
944-
css: [␊
945-
],␊
946-
947-
// Plugins to run before rendering page: https://go.nuxtjs.dev/config-plugins␊
948-
plugins: [␊
949-
],␊
950-
951-
// Auto import components: https://go.nuxtjs.dev/config-components␊
952-
components: true,␊
953-
954-
// Modules for dev and build (recommended): https://go.nuxtjs.dev/config-modules␊
955-
buildModules: [␊
956-
],␊
957-
958-
// Modules: https://go.nuxtjs.dev/config-modules␊
959-
modules: [␊
960-
// https://bulma.io␊
961-
'@nuxtjs/bulma',␊
962-
],␊
963-
964-
// Build Configuration: https://go.nuxtjs.dev/config-build␊
965-
build: {␊
966-
postcss: {␊
967-
preset: {␊
968-
features: {␊
969-
customProperties: false␊
970-
}␊
971-
}␊
972-
},␊
973-
}␊
974-
}␊
975-
`
976-
977882
## verify ui: Chakra UI
978883

979884
> Generated files
Binary file not shown.

0 commit comments

Comments
 (0)