Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vuestic as a library/dependency #66

Closed
rhymes opened this issue Dec 20, 2017 · 7 comments
Closed

Vuestic as a library/dependency #66

rhymes opened this issue Dec 20, 2017 · 7 comments

Comments

@rhymes
Copy link

rhymes commented Dec 20, 2017

Hi, is it possible to use Vuestic as a library or as a dependency of another project? If not, is there a plan for it?

So we can do something like:

import { VuesticWizard } from 'vuestic/components'
Vue.use(VuesticWizard)

We would like to progressively integrate it but even if it were to start from scratch it would be a bit complicated because we would basically have to fork the project, strip it down and figure out how to integrate only what we need. You can imagine how this is going to get complicated very soon.

Thank you!

@smartapant
Copy link
Contributor

smartapant commented Dec 21, 2017

Hey @rhymes !

Right now we don't have such a possibility but! All the components inside veustic components are independent (and even provided as plugin) from all the other project. The only thing that binds them is sass and sass dependencies inside sass folder (our base styles and bootstrap overrides). So you can take the admin, rm all the demo pages and use the components from vuesptic-components folder

@Xeyos88
Copy link

Xeyos88 commented Feb 8, 2018

Hi, I am new in the world VueJs, therefore I would like to understand as I can import the components of Vuestic in another project...
If the components are not importable as dependence, do I have to copy them inside my project simply?
Thanks

@smartapant
Copy link
Contributor

hey @Xeyos88 !

The components cannot be copied easily - they rely on our styles (override bootstrap). Also, some of them are wrapping libs. You can check the sources though and replicate the behavior easily :)

@Xeyos88
Copy link

Xeyos88 commented Feb 9, 2018

Thanks, I have tried, but it is difficult to reply the logic in a project with Symfony and Webpack-Encore indeed.
I hope that soon it will be possible to include these components as a dependence

@mccheesy
Copy link

Any change in this? Interested in using Vuestic Admin in an existing Laravel application.

@asvae
Copy link
Member

asvae commented Apr 15, 2019

@mccheesy This will be in some shape and form in Vuestic 2.0.

General progress you can check in #370.

We only plan npm package, not composer package (if that matters).

@asvae
Copy link
Member

asvae commented Apr 15, 2019

You can also check #504. That's the main issue for separation.

AlexanderBoriskin added a commit that referenced this issue Aug 2, 2019
asvae added a commit that referenced this issue Aug 3, 2019
* fix: bug №41

* fix: open menu item in a new tab

* fix: spinners color palette

* 1-4, 6-7

* fix: bug №9 (additional tweaks)

* fix: bug №17

* fix: bug №21

* fix: bug №22

* fix: bug №23

* fix: bug №24

* fix: bug №15

* fix: "Show All" button alignment

* fix: bug №6

* Fix/bugs (#622)

* fix: bug №8, bug №10, bug №16, bug №28, bug №36

* revert google map changes

* fix: bug #91, 12

* Fix/bugs (#623)

* fix: dropdown regression

* fix: bug №20

* fix: №89 and №56

* get rid of unnecessary anymore overriding styles

* fix: restore default selection for medium-editor

* fix: dropdown problem

* fix: bug №37 (charts)

* fix: bug №90

* fix: bug №93

* fix: bug №94

* fix: bug №95

* Fix/bugs #34 & #37 (#624)

* chore: remove old component  va-pre-loader

* fix: dashboard info block alignment and text wrapping

* chore: remove vee-validate (not used)

* minor

* chore: remove unused deps

* chore: update risky deps

* fix: VaSelect-mutli chips

* Fix/bug #92 (#625)

* fix: bugs №46 and №47

* fix: bugs №48 and №49

* fix: bug №52

* fix: bug №84

* Fix/bugs #54, #55, #59, #77, #78 (#626)

* fix: bug №71

* fix: bug №87

* Fix/bugs #65, #66, #72, #74, #82, #83 (#627)

* Fix/bugs #53, #68 (#628)

* fix: bug №42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants