Skip to content

Commit

Permalink
chore: update example
Browse files Browse the repository at this point in the history
  • Loading branch information
nonzzz committed Jul 21, 2023
1 parent d521bee commit 81e34a6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion example/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@ export default defineConfig(({ command }) => {
Components({ resolvers: [VarletUIResolver()] }),
{
...cdn({
modules: ['vue', 'vue-demi', 'pinia', '@varlet/ui', 'axios', 'react']
modules: [{
name: 'vue',
resolve: 'https://cdn.bootcdn.net/ajax/libs/[name]/[version]/vue.global.js'
}, 'vue-demi', 'pinia', '@varlet/ui', 'axios']
}),
apply: command
},
Expand Down

0 comments on commit 81e34a6

Please sign in to comment.