basic demo not working with vue-cli basic app
See original GitHub issueHi, Using: “vue”: “^2.2.6”, “vue-carousel”: “^0.6.4”
I made a made a basic “vue init webpack” app
did an npm install of the carousel lib
added the import and use code to src/main.js
and added the <carousel> and <slide>
elements in the index.html
and I just get the plain old text “Slide 1 Content Slide 2 Content” - no carousel features
Issue Analytics
- State:
- Created 6 years ago
- Comments:6
Top Results From Across the Web
Creating a Project | Vue CLI
To create a new project, run: ... You can either choose the default preset which comes with a basic Babel + ESLint setup,...
Read more >Vue JS 3 Tutorial for Beginners #4 - The Vue CLI ... - YouTube
In this Vue 3 tutorial we'll use the Vue CLI to boilerplate a larger Vue project for us, which will ultimately contain multiple...
Read more >Vue JavaScript Tutorial in Visual Studio Code
Vue JavaScript tutorial showing IntelliSense, debugging, and code navigation support in the Visual Studio Code editor.
Read more >How To Generate a Vue.js Single Page App With the Vue CLI
Moving forward, this tutorial will use npm commands. The following command will download the necessary Vue CLI files from the registrar, ...
Read more >Create, Build, and Serve Apps with the Vue CLI
and Serve Apps with the Vue CLI. November 19, 2018 · Create a new project: vue create my-app · Build and serve the...
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 FreeTop 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
Top GitHub Comments
@chrisamow There’s a couple things that could be happening. Would you mind providing a JSFiddle or similar to reproduce your problem? A couple of things that come to mind for what it could be, without additional information:
flex
so if you’re just using text content that’s one word, it may not actually be wide enough to need the carousel functionality.Try that, and follow up with a reproduced issue if that doesn’t work 😄
It wasn’t working for me either until I added a 3rd slide. To specify one slider at a time you can add the prop:
:perPage="1"