Vuetify
See original GitHub issueI created a new project using vue-cli, installed vuetify plugin and vue-cli-plugin-vite. When I run the project with npm run vite, Vuetify components are not recognized.
The browser console is filled with error messages like this:
vue.runtime.esm.js:619 [Vue warn]: Unknown custom element: <v-app> - did you register the component correctly? For recursive components, make sure to provide the "name" option.
found in
---> <App>
<Root>
Here’s my package.json
{
"name": "test",
"version": "0.1.0",
"private": true,
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
"lint": "vue-cli-service lint",
"vite": "node ./bin/vite"
},
"dependencies": {
"core-js": "^3.6.5",
"vue": "^2.6.11",
"vuetify": "^2.4.0"
},
"devDependencies": {
"@vue/cli-plugin-babel": "~4.5.0",
"@vue/cli-plugin-eslint": "~4.5.0",
"@vue/cli-service": "~4.5.0",
"babel-eslint": "^10.1.0",
"eslint": "^6.7.2",
"eslint-plugin-vue": "^6.2.2",
"sass": "^1.32.0",
"sass-loader": "^10.0.0",
"vue-cli-plugin-vite": "~0.3.3",
"vue-cli-plugin-vuetify": "~2.3.0",
"vue-template-compiler": "^2.6.11",
"vuetify-loader": "^1.7.0"
},
"eslintConfig": {
"root": true,
"env": {
"node": true
},
"extends": [
"plugin:vue/essential",
"eslint:recommended"
],
"parserOptions": {
"parser": "babel-eslint"
},
"rules": {}
},
"browserslist": [
"> 1%",
"last 2 versions",
"not dead"
]
}
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Vuetify — A Material Design Framework for Vue.js
Vuetify is a Material Design component framework for Vue.js. It aims to provide all the tools necessary to create beautiful content rich applications....
Read more >vuetifyjs/vuetify: 🐉 Vue Component Framework
Vuetify is a Vue UI Library with beautifully handcrafted Components using the Material Design specification. No design skills required — everything you need...
Read more >vuetify
Vue Material Component Framework. Latest version: 2.6.13, last published: 14 days ago. Start using vuetify in your project by running `npm i ...
Read more >Vuetify (@vuetifyjs) / Twitter
Vuetify is a no design skills required UI Component Framework for Vue. It provides you with all of the tools necessa...
Read more >made with Vuetify
Materio Vuetify Admin Vuetify Admin Dashboard Template ... 21.710. Vue UI Kit Modular UI Kit based on Vuetify ... Vuetify.js Material Component Framework....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

@akkayy Thank you.
An eject command will be provided by this plugin to remove webpack deps and code and setup vite deps and config for the project. If you use vue-cli-plugin-vite, you use really vite and dont warried about it.
Also, vue-cli based on vite is the future, I will focus on(and push) it.
Recently first-class jest support for vite and some plugin like
vite-plugin-chekcerandvite-plugin-eslintis out. It is much closer to the future(compat with vue-cli).Goosebumps 😃 Thanks again!