Skip to content

Commit

Permalink
chore(playground): update cdn link
Browse files Browse the repository at this point in the history
  • Loading branch information
eiinu committed Jul 14, 2023
1 parent d1c16e9 commit 1c40633
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/nutui-playground/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ const store = new NutUIStore(
store.setImportMap({
imports: {
'@nutui/nutui': 'https://cdn.jsdelivr.net/npm/@nutui/nutui/dist/nutui.js',
'@nutui/icons-vue': 'https://cdn.jsdelivr.net/npm/@nutui/icons-vue/dist/lib/index.mjs',
'@nutui/nutui': 'https://cdn.jsdelivr.net/npm/@nutui/nutui@latest/dist/nutui.js',
'@nutui/icons-vue': 'https://cdn.jsdelivr.net/npm/@nutui/icons-vue@latest/dist/lib/index.mjs',
'@nutui/touch-emulator': 'https://cdn.jsdelivr.net/npm/@nutui/touch-emulator',
// compatible with Functional Component style import
'@nutui/nutui/dist/packages/toast/style': './style.js',
Expand Down
2 changes: 1 addition & 1 deletion packages/nutui-playground/src/store.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { StoreOptions, File, ReplStore } from '@vue/repl';

const style = 'https://cdn.jsdelivr.net/npm/@nutui/nutui/dist/style.css';
const style = 'https://cdn.jsdelivr.net/npm/@nutui/nutui@latest/dist/style.css';

const appFileCode = `
<script setup lang="ts">
Expand Down

0 comments on commit 1c40633

Please sign in to comment.