Code Monkey home page Code Monkey logo

Comments (5)

danijelh avatar danijelh commented on May 30, 2024

Hi 👋,

it should be pretty straightforward.

1. Install the pacakge

Run npm install vuetify --save

2. Reference vuetify .css

In site.css change the following lines

// @import "~bulmaswatch/flatly/bulmaswatch.scss"; // Comment out Bulma
@import "~vuetify/dist/vuetify.min.css"; // Add vuetify css 

3. Add vuetify in modules

So in modules where you want to use Vuetify you add the following lines

import Vuetify from 'vuetify'
Vue.use(Vuetify)

That's it. Also, don't forget to wrap the HTML in <v-app> tags before using the framework components.

Also also, take note that since Vuetify is a complete framework it's maybe not best suited for the multipage applications. But, by all means, you can use it in your modules and it will work the same as in the project with Vue CLI.

from aspnetcore-vue-typescript-template.

githubr avatar githubr commented on May 30, 2024

Thanks @danijelh. I really appreciate that.

Could you please explain a bit more about Vuetify probably is not the best for multipage application? Will it be performance wise or harder to work with or something else?

from aspnetcore-vue-typescript-template.

danijelh avatar danijelh commented on May 30, 2024

No, it will work just fine and as any multi-page application. What I meant to say is that Vuetify itself was designed to be used primarily in a SPA but since every module is a SPA for itself you'll find yourself with multiple spa's and multiple Vuetify imports. It's just organizational thingy, something like using multiple Angular applications within the same application but on a much lower scale. Anyway, you're fine with Vuetify, regarding performance and usage everything is ok.

from aspnetcore-vue-typescript-template.

githubr avatar githubr commented on May 30, 2024

Thanks @danijelh. You can close this issue if you want. I have been able to add Vuetify to my .net project.

from aspnetcore-vue-typescript-template.

danijelh avatar danijelh commented on May 30, 2024

Gr8! Happy developing 👍

from aspnetcore-vue-typescript-template.

Related Issues (14)

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.