Skip to content
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

Does not loading vueDaePick.css after refresh #76

Open
ivanishko opened this issue Mar 1, 2021 · 0 comments
Open

Does not loading vueDaePick.css after refresh #76

ivanishko opened this issue Mar 1, 2021 · 0 comments

Comments

@ivanishko
Copy link

ivanishko commented Mar 1, 2021

Hi. On navigating through the router - styles vueDatePick.css has loaded. After cmd + R does not loading.
Can you help me, please?

import DatePick  from 'vue-date-pick'
import 'vue-date-pick/dist/vueDatePick.css'

...
        components: {
            datepick: DatePick,
...
}
...
             .datepick
                    label Дата рождения
                    component(
                        is="datepick"
                        type="date"
                        v-model="getOrg.orgdata.chief.birth"
                        :displayFormat="'DD.MM.YYYY'"
                        value = ''
                        prevMonthCaption = ""
                        nextMonthCaption = ""
                        :weekdays = ['Пн', 'Вт', 'Ср', 'Чт', 'Пт', 'Сб', 'Вс']
                        :months = ['Январь', 'Февраль', 'Март', 'Апрель', 'Май', 'Июнь', 'Июль', 'Август','Сентярь','Октябрь','Ноябрь','Декабрь']
                        :selectableYearRange="{from: 1925, to: 2020}"
                        @input="setData('chief.birth', $event)"
                    )
                    img(src="~@/assets/images/icon/calendar.png" class="icon")
...

...
<style lang="sass" scoped>
...
    .datepick
            position: relative
            label
                display: block
                font-size: .85rem
                color: #707070
            div
                width: 100%
                input
                    width: 100%
                    border-radius: 3px
                    padding: 12px
                    font-size: 1rem
                    color: #069
                    font-family: "Roboto"
                    border: 1px solid #C8C8C8
                    margin-top: 7px
                    &::placeholder
                        color: #C8C8C8
            img.icon
                position: absolute
                right: 30px
                top: 35px
...
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant