更新模板
This commit is contained in:
7
main.ts
7
main.ts
@@ -1,6 +1,8 @@
|
||||
import { createSSRApp } from "vue";
|
||||
import { cool } from "./cool";
|
||||
import App from "./App.uvue";
|
||||
import ClIcon from "@/uni_modules/cool-ui/components/cl-icon/cl-icon.uvue";
|
||||
import ClUpload from "@/uni_modules/cool-ui/components/cl-upload/cl-upload.uvue";
|
||||
import "./router";
|
||||
|
||||
export function createApp() {
|
||||
@@ -8,6 +10,11 @@ export function createApp() {
|
||||
|
||||
cool(app);
|
||||
|
||||
app.component("cl-icon", ClIcon);
|
||||
app.component("cl-upload", ClUpload);
|
||||
|
||||
|
||||
|
||||
return {
|
||||
app
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user