Skip to content

Generate .tern-project with vue init #404

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Yamakaky opened this issue Mar 16, 2017 · 4 comments
Closed

Generate .tern-project with vue init #404

Yamakaky opened this issue Mar 16, 2017 · 4 comments

Comments

@Yamakaky
Copy link

See http://ternjs.net/. The file itself is easy to generate http://ternjs.net/doc/manual.html#configuration

@Yamakaky
Copy link
Author

Wat
Anyway, I use the following config:

{
    "libs": [
        "browser",
        "ecmascript"
    ],
    "plugins": {
        "es_modules": {},
        "webpack": {}
    }
}

@unr
Copy link

unr commented May 2, 2017

Dropped in @Yamakaky's example file, tern started working instantly in my vue components. Cheers!

@egoist
Copy link
Collaborator

egoist commented May 2, 2017

In which template you want to generate .tern-project? You should post the feature request there. :P

@egoist egoist closed this as completed May 2, 2017
@Yamakaky
Copy link
Author

Yamakaky commented May 2, 2017

Right ^^

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants