vuetifyjs / vue-cli-preset-vuetify Goto Github PK
View Code? Open in Web Editor NEW๐ An opinionated Vue CLI 3 Vuetify Preset
License: Other
๐ An opinionated Vue CLI 3 Vuetify Preset
License: Other
yarn install fails once the project is generated:
F:\work\projects\quini\vuejs\vuetify-preset-test>vue info
Environment Info:
System:
OS: Windows 10
CPU: (16) x64 Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz
Binaries:
Node: 10.16.0 - C:\Program Files\nodejs\node.EXE
Yarn: 1.16.0 - C:\Program Files\nodejs\yarn.CMD
npm: 6.9.0 - C:\Program Files\nodejs\npm.CMD
Browsers:
Edge: 44.18362.449.0
npmPackages:
@storybook/vue: ^5.2 => 5.2.8
@vue/babel-helper-vue-jsx-merge-props: 1.0.0
@vue/babel-plugin-transform-vue-jsx: 1.1.2
@vue/babel-preset-app: 4.1.1
@vue/babel-preset-jsx: 1.1.2
@vue/babel-sugar-functional-vue: 1.1.2
@vue/babel-sugar-inject-h: 1.1.2
@vue/babel-sugar-v-model: 1.1.2
@vue/babel-sugar-v-on: 1.1.2
@vue/cli-overlay: 4.1.1
@vue/cli-plugin-babel: ^4.1.0 => 4.1.1
@vue/cli-plugin-e2e-cypress: ^4.1.0 => 4.1.1
@vue/cli-plugin-eslint: ^4.1.0 => 4.1.1
@vue/cli-plugin-router: ^4.1.0 => 4.1.1
@vue/cli-plugin-unit-jest: ^4.1.0 => 4.1.1
@vue/cli-plugin-vuex: ^4.1.0 => 4.1.1
@vue/cli-service: ^4.1.0 => 4.1.1
@vue/cli-shared-utils: 4.1.1
@vue/component-compiler-utils: 3.1.0
@vue/eslint-config-standard: ^4.0.0 => 4.0.0
@vue/preload-webpack-plugin: 1.1.1
@vue/test-utils: 1.0.0-beta.29 => 1.0.0-beta.29
@vue/web-component-wrapper: 1.2.0
babel-helper-vue-jsx-merge-props: 2.0.3
babel-plugin-transform-vue-jsx: 3.7.0
babel-preset-vue: ^2.0.2 => 2.0.2
eslint-config-vuetify: * => 0.4.1
eslint-plugin-vue: ^5.0.0 => 5.2.3 (6.0.1)
eslint-plugin-vuetify: undefined (1.0.0-beta.6)
jest-serializer-vue: 2.0.2
vue: ^2.6.10 => 2.6.11
vue-analytics: * => 5.20.1
vue-class-component: 7.1.0
vue-cli-plugin-prerender-spa: latest => 1.1.6
vue-cli-plugin-vuetify: latest => 2.0.2
vue-cli-plugin-vuetify-cli: latest => 0.0.6
vue-cli-plugin-vuetify-essentials: latest => 0.8.3
vue-cli-plugin-vuetify-storybook: latest => 0.1.1
vue-eslint-parser: 5.0.0 (6.0.5)
vue-hot-reload-api: 2.3.4
vue-jest: 3.0.5
vue-loader: 15.8.3
vue-meta: * => 2.3.1
vue-router: ^3.1.3 => 3.1.3
vue-storybook: ^1.1.0 => 1.2.0
vue-style-loader: 4.1.2
vue-template-compiler: ^2.6.10 => 2.6.11
vue-template-es2015-compiler: 1.9.1
vuetify: ^2.1.0 => 2.1.15
vuetify-loader: ^1.3.0 => 1.4.3
vuex: ^3.1.2 => 3.1.2
vuex-pathify: * => 1.4.1
vuex-router-sync: * => 5.0.0
npmGlobalPackages:
@vue/cli: Not Found
Command error:
info [email protected]: The platform "win32" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info [email protected]: The platform "win32" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Saved lockfile.
Done in 95.82s.
ERROR Error: Failed to load plugin vuetify: Cannot find module 'eslint-plugin-vuetify'
Referenced from: F:\work\projects\quini\vuejs\vuetify-preset-test\.eslintrc.js
Error: Failed to load plugin vuetify: Cannot find module 'eslint-plugin-vuetify'
Referenced from: F:\work\projects\quini\vuejs\vuetify-preset-test\.eslintrc.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.resolve (internal/modules/cjs/helpers.js:33:19)
at Plugins.load (F:\work\projects\quini\vuejs\vuetify-preset-test\node_modules\eslint\lib\config\plugins.js:104:29)
at Array.forEach (<anonymous>)
at Plugins.loadAll (F:\work\projects\quini\vuejs\vuetify-preset-test\node_modules\eslint\lib\config\plugins.js:165:21)
at loadFromDisk (F:\work\projects\quini\vuejs\vuetify-preset-test\node_modules\eslint\lib\config\config-file.js:529:35)
at load (F:\work\projects\quini\vuejs\vuetify-preset-test\node_modules\eslint\lib\config\config-file.js:587:20)
at configExtends.reduceRight (F:\work\projects\quini\vuejs\vuetify-preset-test\node_modules\eslint\lib\config\config-file.js:453:36)
at Array.reduceRight (<anonymous>)
at applyExtends (F:\work\projects\quini\vuejs\vuetify-preset-test\node_modules\eslint\lib\config\config-file.js:431:26)
vue --version
3.12.1
Run the command:
vue create my-project --preset vuetifyjs/vue-cli-preset-vuetify
and get
npm ERR! code ETARGET
npm ERR! notarget No matching version found for @vue/cli-plugin-router@^3.12.0
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
npm ERR! notarget
npm ERR! notarget It was specified as a dependency of 'my-project'
npm ERR! notarget
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Inspiron\AppData\Roaming\npm-cache\_logs\2020-04-17T03_03_45_185Z-debug.log
ERROR command failed: npm install --loglevel error
I see there's no router plugin in vue-cli 3.
https://github.com/vuejs/vue-cli/tree/v3/packages/%40vue
Thank you for maintain this greate project, it helps me a lot.
When running [npm run serve] command after created project in Ubuntu, the following error message is shown in terminal.
ERROR Error: Cannot find module 'lodash/kebabcase'
Error: Cannot find module 'lodash/kebabcase'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object. (/home/tangyk/Desktop/study/vuetify-preset/node_modules/vue-cli-plugin-vuetify-cli/lib/commands/make-directive.js:3:19)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
Following files should be revised.
vue-cli-plugin-vuetify-cli/lib/commands/make-directive.js
vue-cli-plugin-vuetify-cli/lib/commands/make-mixin.js
vue-cli-plugin-vuetify-cli/lib/commands/make-view.js
Hi John Leider, thanks for creating this vue-cli-preset-vuetify
Could you please help me to understand the purposes of having devServer.disableHostCheck: true
and transpileDependencies: ['vuetify]
.
I did lookup for the documentation of transpileDependencies and disableHostCheck, but still unable to fully grasp the usage of it.
Thank you
Regards,
Andrew
Hi John,
First, thanks for creating this vue cli preset.
Just curious if the removal of the i18n plugin was intentional or not? There was nothing in the changelog about it, but this commit seems to remove it (d893787#diff-02124844e65aed4073834024412c4bd2)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.