-
Notifications
You must be signed in to change notification settings - Fork 7
separate the html, css, js into different files #4
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
Comments
This is not supported yet. |
has any other way to do this? I don't want to write all code into the single file.... |
or maybe like this: |
That should work. |
the js work fine, but less don't work, I got follow tips: // app.vue // style.less |
Did you install less with |
OK, thanks. |
Now, the js work fine with browser on PC and mobile, but less work fine with browser on PC(work fine need mouse hover, if mouse don't move, it don't work, also don't work when I write the css include style), but don't work on mobile. my code:
|
Hello @Akryum, it is not clear that this is what we have to do. I was getting the error
but perhaps the error should be something like
I had no idea what to do, and the docs on meteor.com for using Vue don't mention it. It would be great to update those terminal messages! |
Uh oh!
There was an error while loading. Please reload this page.
how to separate the html, css, js into different files?
maybe like this:
// app.vue
<
template src="./template.html"><
/template>
<
style src="./style.css"><
/style>
<
script src="./script.js"><
/script>
The text was updated successfully, but these errors were encountered: