Comments (5)
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.
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.
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.
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.
Gr8! Happy developing 👍
from aspnetcore-vue-typescript-template.
Related Issues (14)
- Node-sass package missing from fresh install HOT 1
- Localization integration HOT 2
- Vue loader does not include simple css styles HOT 1
- Can you update your project? HOT 2
- Question Please, Is it possible to use react in same project? HOT 1
- Version without TS/SASS? HOT 3
- Core 3.1 Please? HOT 1
- Could you by any chance upgrade to .NET 5.0 ? HOT 1
- Not Found: [email protected] HOT 2
- Amazing Repo HOT 3
- Hot module reloading does not work HOT 2
- I got HMR working HOT 5
- Issues publishing to Azure VM HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aspnetcore-vue-typescript-template.