File tree Expand file tree Collapse file tree 4 files changed +6
-10
lines changed Expand file tree Collapse file tree 4 files changed +6
-10
lines changed Original file line number Diff line number Diff line change 1
- @import '../../../dist/vue-datepicker .css' ;
1
+ @import '../../../dist/style .css' ;
2
2
3
3
.example input ,
4
4
.example select {
Original file line number Diff line number Diff line change 165
165
```
166
166
167
167
<style >
168
- /* @import '../../dist/vue-datepicker .css';*/
168
+ /* @import '../../dist/style .css'; */
169
169
170
170
/* Start vue-datepicker.css */
171
171
.rtl {
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ Download the latest release from github
27
27
28
28
<script>
29
29
import DatePicker from '@sum.cumo/vue-datepicker'
30
- import '@sum.cumo/vue-datepicker/dist/vue-datepicker .css'
30
+ import '@sum.cumo/vue-datepicker/style .css'
31
31
32
32
export default {
33
33
name: 'Example',
@@ -48,19 +48,19 @@ Another option is to use webpacks [css-loader](https://webpack.js.org/loaders/cs
48
48
49
49
``` vue
50
50
<style>
51
- @import '~@sum.cumo/vue-datepicker/dist/Datepicker .css';
51
+ @import '~@sum.cumo/vue-datepicker/style .css';
52
52
</style>
53
53
```
54
54
55
55
If you use [ SASS] ( https://sass-lang.com/ ) you can directly import the src file.
56
56
57
57
``` vue
58
58
<style lang="scss">
59
- @import '~@sum.cumo/vue-datepicker/src/styles/ style.scss';
59
+ @import '~@sum.cumo/vue-datepicker/style.scss';
60
60
</style>
61
61
```
62
62
63
- The ` esm ` build is for modern browser and includes ES5 or higher.
63
+ The ` esm ` build is for modern browsers and includes ES5 or higher.
64
64
If you want to use it and want to include own polyfills you need to transpile it within your build process:
65
65
66
66
- vue-cli [ documentation] ( https://cli.vuejs.org/config/#transpiledependencies )
Original file line number Diff line number Diff line change @@ -35,10 +35,6 @@ export default {
35
35
globals : {
36
36
vue : 'Vue' ,
37
37
} ,
38
- assetFileNames : ( assetInfo ) => {
39
- if ( assetInfo . name === 'style.css' ) return 'vue-datepicker.css'
40
- return assetInfo . name
41
- } ,
42
38
} ,
43
39
} ,
44
40
} ,
You can’t perform that action at this time.
0 commit comments