Coder Social home page Coder Social logo

menteora / vuetify-extra Goto Github PK

View Code? Open in Web Editor NEW
24.0 3.0 6.0 3.45 MB

Vuetify common bundle of components

Home Page: https://menteora.github.io/vuetify-extra/

License: MIT License

JavaScript 22.64% Vue 65.78% HTML 5.63% Shell 2.50% Dockerfile 3.46%
vuetify vuetifyjs vue vuejs vuejs2 vue2

vuetify-extra's Introduction

IMPORTANT!

There's a BUG in v1.0.0-beta.0, use previous version:

npm install  @menteora/[email protected]

vuetify-extra

Vue library with common used components based on Vuetify.

Demo here: https://menteora.github.io/vuetify-extra/

2020/12/18 - v1.0.0-beta.0 - reduced library size from 300kb to 9kb (removed any duplicated vuetify code)

2020/11/03 - NEW! Docker Integration

Project setup

Install Library

npm install @menteora/vuetify-extra

Use Plugin

  • Use Vuetify-Extra plugin after Vuetify
  • Example of /src/main.js with Vuetify and Vuetify-Extra plugins:
import Vue from 'vue'
import App from './App.vue'
import vuetify from './plugins/vuetify'
import './plugins/vuetify-extra'

Vue.config.productionTip = false

new Vue({
  vuetify,
  render: h => h(App)
}).$mount('#app')
  • Example of standard Vuetify plugin installation in plugins/vuetify.js:
import Vue from 'vue'
import Vuetify from 'vuetify/lib'

Vue.use(Vuetify)

export default new Vuetify({
  icons: {
    iconfont: 'mdi'
  }
})
  • Example Vuetify-Extra plugin installation in plugins/vuetify-extra.js:
import Vue from 'vue'
import VuetifyExtra from '@menteora/vuetify-extra'

Vue.use(VuetifyExtra)

Docker Integration

  • Install Docker (refer to official Guide)
  • Install "Docker" Extension on VSCode
  • Open Folder with VSCode
  • Answer "Reopen in Container"

reopen inside docker button

Project setup

See demo in action:

npm run serve

Compiles and minifies Library for production

npm run build

Lints and fixes files

npm run lint

Customize configuration

See Configuration Reference.

Update workflow

  1. Update & commit code

Github pages updates

  1. Update demo npm run deploy:demo
  2. Test demo

Github updates

  1. Update release inside package.json
  2. Tag commit git tag v0.3.1
  3. Push Tags git push origin --tags

Npm updates

  1. Update build npm run build
  2. Login on npm npm login
  3. Update package on npm npm publish

vuetify-extra's People

Contributors

menteora avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

vuetify-extra's Issues

Error by importing lib

running this commands:

  1. npm install
  2. npm run build

On my project:

npm install /path/to/vuetify-extra.git

src/plugins/vuetify-extra.js

import Vue from 'vue';
import VuetifyExtra from "@menteora/vuetify-extra";
Vue.use(VuetifyExtra);

src/main.js

import vuetify from "./plugins/vuetify"; import "./plugins/vuetify-extra";

after that:

running my project with
npm run serve

and get this error:

warning in ./src/plugins/vuetify-extra-components.js

"export 'default' (imported as 'VuetifyExtra') was not found in '@menteora/vuetify-extra'

Do you know this error? Or do you know what i'm doing wrong?

Thx!

Vuetify component not detected when come from vuetify-extra library

Hello,

I created a new vue project and install vuetify and vuetify-extra.
I imported vuetify and vuetify-extra in the main.js like the documentation.

If I put a vuetify component like v-card or v-btn in a vue, I can see it without error. The v-card is registered.
If I put a vuetify-extra component like CardPage, in a vue, I can see the CardPage component (it is registered) but all the vuetify components inside vuetify-extra component are not detected.

How can I resolve that ? I don't see what is missing ?

Exemple of error only with vuetify-extra :
[Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.

found in

--->

at src/App.vue

vuetify-extra

How to import all the components.

Hi friend,
This is a very good project. Is exactly what i'm looking for.
Can you please tell me how you import the library into an other project ? And how to use the components?

It's possible to create a lib just for 1 components ?

I saw a lot of samples, but without vuetify.

thank you very much!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.