-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch to yarn and run standard linter
- Loading branch information
Showing
9 changed files
with
11,884 additions
and
27,618 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,9 @@ | ||
module.exports = { | ||
extends: [ | ||
'plugin:vue/recommended' // Use this if you are using Vue.js 2.x. | ||
], | ||
rules: { | ||
// override/add rules settings here, such as: | ||
'vue/require-default-prop': 'off' | ||
} | ||
} |
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 |
---|---|---|
@@ -1,8 +1,8 @@ | ||
import Vue from 'vue'; | ||
import Dev from './serve.vue'; | ||
import Vue from 'vue' | ||
import Dev from './serve.vue' | ||
|
||
Vue.config.productionTip = false; | ||
Vue.config.productionTip = false | ||
|
||
new Vue({ | ||
render: (h) => h(Dev), | ||
}).$mount('#app'); | ||
render: (h) => h(Dev) | ||
}).$mount('#app') |
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
This file was deleted.
Oops, something went wrong.
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
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
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
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 |
---|---|---|
@@ -1,11 +1,11 @@ | ||
// iife/cjs usage extends esm default export - so import it all | ||
import component, * as namedExports from '@/entry.esm'; | ||
import component, * as namedExports from '@/entry.esm' | ||
|
||
// Attach named exports directly to component. IIFE/CJS will | ||
// only expose one global var, with named exports exposed as properties of | ||
// that global var (eg. plugin.namedExport) | ||
Object.entries(namedExports).forEach(([exportName, exported]) => { | ||
if (exportName !== 'default') component[exportName] = exported; | ||
}); | ||
if (exportName !== 'default') component[exportName] = exported | ||
}) | ||
|
||
export default component; | ||
export default component |
Oops, something went wrong.