-
Notifications
You must be signed in to change notification settings - Fork 139
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixed empty/no script tag in vue component error
- Loading branch information
1 parent
18cf6e1
commit 10f4bda
Showing
2 changed files
with
39 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<template> | ||
<div> | ||
<span>hello world | ||
</span></div> | ||
</template> | ||
|
||
<script> | ||
// I am top level comment in this file. | ||
// I am second line of top level comment in this file. | ||
import threeLevelRelativePath from '../../../threeLevelRelativePath'; | ||
import sameLevelRelativePath from './sameLevelRelativePath'; | ||
import thirdParty from 'third-party'; | ||
import React from 'react'; | ||
export { random } from './random'; | ||
import oneLevelRelativePath from '../oneLevelRelativePath'; | ||
import otherthing from '@core/otherthing'; | ||
import twoLevelRelativePath from '../../twoLevelRelativePath'; | ||
import component from '@ui/hello'; | ||
export default { | ||
title: 'hello', | ||
}; | ||
import fourLevelRelativePath from '../../../../fourLevelRelativePath'; | ||
import something from '@server/something'; | ||
function add(a, b) { | ||
return a + b; | ||
} | ||
</script> | ||
|
||
<style> | ||
div { color: red; } | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters