Browse Source

remove inplicit .vue import

pull/342/head
Guillaume Vincent 8 years ago
parent
commit
be42842863
5 changed files with 10 additions and 10 deletions
  1. +1
    -1
      src/LessPass.vue
  2. +5
    -5
      src/router.js
  3. +2
    -2
      src/views/PasswordGenerator.vue
  4. +1
    -1
      src/views/Passwords.vue
  5. +1
    -1
      webpack.config.js

+ 1
- 1
src/LessPass.vue View File

@@ -21,7 +21,7 @@
</div> </div>
</template> </template>
<script type="text/ecmascript-6"> <script type="text/ecmascript-6">
import Menu from './components/Menu';
import Menu from './components/Menu.vue';


export default { export default {
name: 'LessPass', name: 'LessPass',


+ 5
- 5
src/router.js View File

@@ -1,11 +1,11 @@
import Vue from 'vue'; import Vue from 'vue';
import VueRouter from 'vue-router'; import VueRouter from 'vue-router';


import PasswordGenerator from './views/PasswordGenerator';
import Login from './views/Login';
import PasswordReset from './views/PasswordReset';
import PasswordResetConfirm from './views/PasswordResetConfirm';
import Passwords from './views/Passwords';
import PasswordGenerator from './views/PasswordGenerator.vue';
import Login from './views/Login.vue';
import PasswordReset from './views/PasswordReset.vue';
import PasswordResetConfirm from './views/PasswordResetConfirm.vue';
import Passwords from './views/Passwords.vue';


Vue.use(VueRouter); Vue.use(VueRouter);




+ 2
- 2
src/views/PasswordGenerator.vue View File

@@ -159,13 +159,13 @@
<script type="text/ecmascript-6"> <script type="text/ecmascript-6">
import LessPass from 'lesspass'; import LessPass from 'lesspass';
import {mapGetters} from 'vuex'; import {mapGetters} from 'vuex';
import RemoveAutoComplete from '../components/RemoveAutoComplete';
import Fingerprint from '../components/Fingerprint';
import Clipboard from 'clipboard'; import Clipboard from 'clipboard';
import debounce from 'lodash.debounce'; import debounce from 'lodash.debounce';
import {showTooltip} from '../api/tooltip'; import {showTooltip} from '../api/tooltip';
import Password from '../domain/password'; import Password from '../domain/password';
import {getSite} from '../domain/url-parser'; import {getSite} from '../domain/url-parser';
import RemoveAutoComplete from '../components/RemoveAutoComplete.vue';
import Fingerprint from '../components/Fingerprint.vue';


function fetchPasswords(store) { function fetchPasswords(store) {
return store.dispatch('FETCH_PASSWORDS') return store.dispatch('FETCH_PASSWORDS')


+ 1
- 1
src/views/Passwords.vue View File

@@ -49,7 +49,7 @@
</div> </div>
</template> </template>
<script type="text/ecmascript-6"> <script type="text/ecmascript-6">
import DeleteButton from '../components/DeleteButton';
import DeleteButton from '../components/DeleteButton.vue';
import {mapGetters} from 'vuex'; import {mapGetters} from 'vuex';


function fetchPasswords(store) { function fetchPasswords(store) {


+ 1
- 1
webpack.config.js View File

@@ -13,7 +13,7 @@ module.exports = {
filename: 'lesspass.min.js' filename: 'lesspass.min.js'
}, },
resolve: { resolve: {
extensions: ['.json', '.js', '.vue']
extensions: ['.json', '.js']
}, },
module: { module: {
rules: [ rules: [


Loading…
Cancel
Save