diff --git a/examples/with-buefy/assets/logo.png b/examples/with-buefy/assets/logo.png deleted file mode 100644 index 7f238b598c..0000000000 Binary files a/examples/with-buefy/assets/logo.png and /dev/null differ diff --git a/examples/with-buefy/components/card.vue b/examples/with-buefy/components/card.vue new file mode 100644 index 0000000000..9c379b1191 --- /dev/null +++ b/examples/with-buefy/components/card.vue @@ -0,0 +1,42 @@ + + + diff --git a/examples/with-buefy/nuxt.config.js b/examples/with-buefy/nuxt.config.js index 06cc234cad..663560b91f 100644 --- a/examples/with-buefy/nuxt.config.js +++ b/examples/with-buefy/nuxt.config.js @@ -3,8 +3,9 @@ export default { ** Customize the progress bar color */ loading: { color: '#3B8070' }, - mode: 'spa', - plugins: ['~plugins/buefy'], + modules: [ + 'nuxt-buefy' + ], router: { linkActiveClass: 'is-active' } diff --git a/examples/with-buefy/package.json b/examples/with-buefy/package.json index 126b946569..6e5c6241e8 100644 --- a/examples/with-buefy/package.json +++ b/examples/with-buefy/package.json @@ -10,12 +10,7 @@ "post-update": "yarn upgrade --latest" }, "dependencies": { - "buefy": "^0.5.4", "nuxt": "latest", - "vue": "~2.4.4" - }, - "devDependencies": { - "node-sass": "^4.6.0", - "sass-loader": "^6.0.6" + "nuxt-buefy": "latest" } } diff --git a/examples/with-buefy/pages/about.vue b/examples/with-buefy/pages/about.vue deleted file mode 100644 index 484c798b82..0000000000 --- a/examples/with-buefy/pages/about.vue +++ /dev/null @@ -1,3 +0,0 @@ - diff --git a/examples/with-buefy/pages/index.vue b/examples/with-buefy/pages/index.vue index 443f64cb5a..dafce719a3 100644 --- a/examples/with-buefy/pages/index.vue +++ b/examples/with-buefy/pages/index.vue @@ -1,28 +1,45 @@ - + diff --git a/examples/with-buefy/plugins/buefy.js b/examples/with-buefy/plugins/buefy.js deleted file mode 100644 index 9fc091d0b9..0000000000 --- a/examples/with-buefy/plugins/buefy.js +++ /dev/null @@ -1,4 +0,0 @@ -import Vue from 'vue' -import Buefy from 'buefy' - -Vue.use(Buefy)