question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Quick start for existing projects

See original GitHub issue

Hi!

I can’t seem to be getting Vuetify working within my existing project. I’m using a base app created with vue-cli, browserify with hot reloading.

Uncaught TypeError: _vm._c is not a function

image

Not entirely sure what I’m doing wrong here.

import Vue from 'vue';
import Vuetify from 'vuetify';

Vue.use(Vuetify);

new Vue({
    el: '#app',
    mounted() {
        this.$vuetify.init();
    },
    data: {
        item: {
            href: '#!',
            text: 'Get Started'
        }
    }
});

My main index.html is matching the structure from the example template vue init vuetifyjs/simple. It somewhat feels like the distributed package I seem to include from browserify’s required (defined as dist/vuetify.js in this project’s package.json) doesn’t play nice.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:3
  • Comments:15 (5 by maintainers)

github_iconTop GitHub Comments

22reactions
gluonscommented, Dec 19, 2016

@johnleider You should add some stylesheet import in Quick Start (Existing Projects part).

import 'vuetify/dist/vuetify.min.css';

Without this, existing project will not include vuetify’s stylesheet.

3reactions
gluonscommented, Jun 27, 2017

@exhuma Oh! You’ve imported wrong file. You can import .css file directly in main.js.

PR sent. 🎉

Read more comments on GitHub >

github_iconTop Results From Across the Web

Quick Start Projects – Google Earth Studio
To access Quick Starts, use the File > New > Quick Start menu, or select the Quick Start option from the Blank Project...
Read more >
Quickstart for Projects - GitHub Docs
This guide demonstrates how to use Projects to plan and track work. In this guide, you will create a new project and add...
Read more >
Quickstart: Manage your Google Cloud resources
If you are an existing Google Cloud user, the organization resource will be created for you when you create a new project or...
Read more >
Spring Quickstart Guide
Spring Boot is the quickest and most popular way to start Spring projects. Step 2: Add your code. Open up the project in...
Read more >
Creating with Quickstarts or importing - Jenkins X
creates a new application from the quickstart in a sub directory · add your source code into a git repository · create a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found