Skip to content

Commit

Permalink
bug(varlet): add varlet touch-emulator
Browse files Browse the repository at this point in the history
  • Loading branch information
ErKeLost committed Oct 15, 2022
1 parent 0a0a6f9 commit 9b34733
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vite-cli/src/core/questions/vue/components.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default {
{ title: 'Element Plus', value: 'elementPlus' },
{ title: 'Vuetify3 Beta', value: 'vuetify' },
{ title: 'Naive UI', value: 'naiveUI' },
{ title: 'Varlet', value: 'varlet' },
{ title: 'Varlet Pc', value: 'varlet' },
{ title: 'Ant Design Vue 3.x', value: 'antDesignVue' },
{ title: 'DevUI', value: 'devUI' },
{ title: 'arco-design', value: 'arco' },
Expand Down
3 changes: 3 additions & 0 deletions packages/vite-cli/template/vue/src/plugins/assets.ejs
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
<% if (plugins.indexOf('unocss') !== -1) { -%>
import 'uno.css'
<% } -%>
<% if (components === 'varlet') { -%>
import '@varlet/touch-emulator'
<% } -%>
import '@/styles/base.css'
<% if (useTheme) { -%>
import '@erkelost/colorpicker/dist/style.css'
Expand Down

0 comments on commit 9b34733

Please sign in to comment.