UNPKG

press-tdesign-vue-next

Version:
7 lines (6 loc) 1.68 kB
export declare const HTML_CONTENT = "\n <!DOCTYPE html>\n <html>\n <head>\n <meta charset=\"UTF-8\">\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n <meta http-equiv=\"X-UA-Compatible\" content=\"ie=edge\">\n <link rel=\"icon\" href=\"/favicon.ico\">\n <title>D2C Demo</title>\n <script src=\"https://cdn.jsdelivr.net/npm/@tailwindcss/browser@4\"></script>\n <!--[if lte IE 9]>\n <style>\n #app {\n display: none;\n }\n </style>\n <![endif]-->\n </head>\n\n <body>\n <!--[if lte IE 9]>\n <h1 style=\"position: absolute; width: 100%; text-align:center; top: 45%\">\u8BF7\u4F7F\u7528 IE 10 \u4EE5\u53CA\u66F4\u65B0\u7248\u672C\u7684\u6D4F\u89C8\u5668\u8BBF\u95EE\uFF0C\u5EFA\u8BAE\u4F7F\u7528 <a href=\"https://www.google.cn/chrome/\">Chrome</a></h1>\n <![endif]-->\n\n <div id=\"app\"></div>\n <script type=\"module\" src=\"/src/main.js\"></script>\n </body>\n\n </html>\n"; export declare const MAIN_JS_CONTENT = "\n import { createApp } from 'vue';\n import Demo from './Index.vue';\n\n import './index.css';\n\n const app = createApp(Demo);\n\n app.mount('#app');\n"; export declare const STYLE_CONTENT = "\n \n"; export declare const STACKBLITZ_RC = "\n {\n \"installDependencies\": true,\n \"startCommand\": \"npm run dev\"\n }\n"; export declare const VITE_CONFIG_CONTENT = "\n import { defineConfig } from 'vite';\n import vue from '@vitejs/plugin-vue';\n\n export default defineConfig({\n plugins: [vue()],\n });\n"; export declare const getPackageJSONContent: (depsVersion: Record<string, string>) => string;