All Projects β†’ nextcloud β†’ Nextcloud Vue

nextcloud / Nextcloud Vue

Licence: agpl-3.0
🍱 Vue.js components for Nextcloud app development ✌

Projects that are alternatives of or similar to Nextcloud Vue

Vue Social Sharing
A renderless Vue.js component for sharing links to social networks, compatible with SSR
Stars: ✭ 1,071 (+1103.37%)
Mutual labels:  hacktoberfest, vue-components, vuejs-components, vuejs2
Vuelayers
Web map Vue components with the power of OpenLayers
Stars: ✭ 532 (+497.75%)
Mutual labels:  hacktoberfest, vue-components, vuejs-components, vuejs2
Vue Multi Select
This component gives you a multi/single select with the power of Vuejs components.
Stars: ✭ 92 (+3.37%)
Mutual labels:  vue-components, vuejs-components, vuejs2
vue-notification-bell
Vue.js notification bell component.
Stars: ✭ 64 (-28.09%)
Mutual labels:  vuejs2, vue-components, vuejs-components
Storefront Ui
Customization-first, performance-oriented and elegant UI framework for eCommerce (and not only) based on Vue.js and Google Retail UX Playbook. Made with πŸ’š by Vue Storefront team and contributors.
Stars: ✭ 1,827 (+1952.81%)
Mutual labels:  hacktoberfest, vue-components, vuejs2
Vue Swatches
🎨 Help the user picking beautiful colors!
Stars: ✭ 456 (+412.36%)
Mutual labels:  vue-components, vuejs-components, vuejs2
Spreed
πŸ“žπŸ˜€ Nextcloud Talk – chat, video & audio calls for Nextcloud
Stars: ✭ 994 (+1016.85%)
Mutual labels:  hacktoberfest, nextcloud
V Tag Suggestion
A simple tag component with typeahead
Stars: ✭ 40 (-55.06%)
Mutual labels:  vuejs-components, vuejs2
Vue Image Loader
Vue progressive image loader plugin like Medium
Stars: ✭ 47 (-47.19%)
Mutual labels:  vue-components, vuejs2
Vuex Flash
VueJs Flash Message Component within Vuex
Stars: ✭ 54 (-39.33%)
Mutual labels:  vue-components, vuejs2
Nextcloud Snap
β˜οΈπŸ“¦ Nextcloud packaged as a snap
Stars: ✭ 1,088 (+1122.47%)
Mutual labels:  hacktoberfest, nextcloud
Vueye Table
A data table created using Vue.js
Stars: ✭ 64 (-28.09%)
Mutual labels:  vue-components, vuejs2
Vue Flexboxgrid
Vue components made with Flexboxgrid
Stars: ✭ 37 (-58.43%)
Mutual labels:  vue-components, vuejs2
Vue Flip
A Vue.js component to flip elements.
Stars: ✭ 37 (-58.43%)
Mutual labels:  vue-components, vuejs2
Vue Lottie
Render After Effects animations on Vue based on Bodymovin
Stars: ✭ 1,037 (+1065.17%)
Mutual labels:  vue-components, vuejs2
Vue Share Buttons
πŸ”—A set of social buttons for Vue.js
Stars: ✭ 34 (-61.8%)
Mutual labels:  vue-components, vuejs2
App Tutorial
Tutorial app which is built in the tutorial
Stars: ✭ 29 (-67.42%)
Mutual labels:  hacktoberfest, nextcloud
Xcui
🍴 A Vue.js 2.x desktop components colletion
Stars: ✭ 88 (-1.12%)
Mutual labels:  vue-components, vuejs2
Vee Validate
βœ… Form Validation for Vue.js
Stars: ✭ 8,820 (+9810.11%)
Mutual labels:  hacktoberfest, vuejs2
Cordovue
A sample Apache Cordova application using VueJS.
Stars: ✭ 66 (-25.84%)
Mutual labels:  vue-components, vuejs2

Vue components

npm last version travis build status Dependabot status Codacy Badge Code coverage irc

This repo contains the various Vue.js components that Nextcloud uses for its internal design and structure. It provides standardized UI elements for building Nextcloud app frontends with Vue.js.

Documentation

A list of available components with examples to try out is available in the documentation.

Getting started

App example

If you want to check a real live example of a nextcloud app that uses this library, you can head over to https://github.com/skjnldsv/vueexample/ We will try to maintain this repository the best we can, but some example might be obsolete. Always check this repository documentation.

Install the library

npm i --save @nextcloud/vue

Usage

To use a component, just import it:

import { AppNavigation } from '@nextcloud/vue'

Depending on which components you use, you might want to only import individual (separately bundled) components:

import Avatar from '@nextcloud/vue/dist/Components/Avatar'

Development setup

If you want to work on improving the components it’s best to run the latest code and link it to your local Nextcloud installation:

  1. Install the dependencies with npm ci
  2. Build the components every time you do changes: npm run build
  3. Connect it to your local Nextcloud development setup:
    • In this repository do npm link
    • In the repository of an app do npm link @nextcloud/vue (you need to re-link any time you do npm ci in the app)
  4. Then build the app with: npm run build (or watch for changes with npm run watch)

Styleguide

When developing new components or extending compnents, make sure to also have some bits of related documentation like examples, where applicable. To test components and the documentation in that context, you can run npm run styleguide to run a local server that serves the style guide with all the components.

Using vue-devtools in Firefox

If you want to use vue-devtools in Firefox, you need to patch your nextcloud instance as follow:

diff --git a/lib/public/AppFramework/Http/ContentSecurityPolicy.php b/lib/public/AppFramework/Http/ContentSecurityPolicy.php
index 3a9ab8f8c1..4bc2b4a4d0 100644
--- a/lib/public/AppFramework/Http/ContentSecurityPolicy.php
+++ b/lib/public/AppFramework/Http/ContentSecurityPolicy.php
@@ -42,9 +42,9 @@ namespace OCP\AppFramework\Http;
  */
 class ContentSecurityPolicy extends EmptyContentSecurityPolicy {
        /** @var bool Whether inline JS snippets are allowed */
-       protected $inlineScriptAllowed = false;
+       protected $inlineScriptAllowed = true;
        /** @var bool Whether eval in JS scripts is allowed */
-       protected $evalScriptAllowed = false;
+       protected $evalScriptAllowed = true;
        /** @var array Domains from which scripts can get loaded */
        protected $allowedScriptDomains = [
                '\'self\'',

Releasing a new version

  • Checkout latest master (pull);
  • Edit CHANGELOG.md and add new entries there for the new version, then create a commit;
  • Run npm version patch (npm version minor if minor). This will return a new version name, make sure it matches what was added in the CHANGELOG.md;
  • Push the tag and the master branch git push origin master [printed-version-name];
  • Make the tag a release on github and add the changelog (https://github.com/nextcloud/nextcloud-vue/releases);
  • Click edit on a previous release and copy the body of the changelog;
  • Go back, click on your release and paste the copied text;
  • Edit all the version numbers;
  • Click on preview and click on view full changelog, this will show you all the prs that have been; added since the previous version;
  • Copy them in the changelog with the same format as previous ones;
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].