Skip to content
Snippets Groups Projects
Commit 341f55ca authored by fz2907's avatar fz2907
Browse files

Add Element UI into vue

parent cebae34c
No related branches found
No related tags found
3 merge requests!27Sprint 1 done,!10Sprint 1,!9Add Element UI and Eslint into vue
......@@ -4,18 +4,30 @@
<option name="autoReloadType" value="SELECTIVE" />
</component>
<component name="ChangeListManager">
<list default="true" id="62d0c62c-25cc-4f6d-a8a3-e4ccb5cac7de" name="Changes" comment="Change service to ts">
<list default="true" id="b729e076-3c33-49b4-9d1d-ab622bea054d" name="Changes" comment="">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/BackendFolder/SwitchRoom/src/main/resources/application.properties" beforeDir="false" afterPath="$PROJECT_DIR$/BackendFolder/SwitchRoom/src/main/resources/application.properties" afterDir="false" />
<change beforePath="$PROJECT_DIR$/FrontendFolder/switch-room/package-lock.json" beforeDir="false" afterPath="$PROJECT_DIR$/FrontendFolder/switch-room/package-lock.json" afterDir="false" />
<change beforePath="$PROJECT_DIR$/FrontendFolder/switch-room/package.json" beforeDir="false" afterPath="$PROJECT_DIR$/FrontendFolder/switch-room/package.json" afterDir="false" />
<change beforePath="$PROJECT_DIR$/FrontendFolder/switch-room/src/components/HelloWorld.vue" beforeDir="false" afterPath="$PROJECT_DIR$/FrontendFolder/switch-room/src/components/HelloWorld.vue" afterDir="false" />
<change beforePath="$PROJECT_DIR$/FrontendFolder/switch-room/src/services/ExampleService.ts" beforeDir="false" afterPath="$PROJECT_DIR$/FrontendFolder/switch-room/src/services/ExampleService.ts" afterDir="false" />
<change beforePath="$PROJECT_DIR$/FrontendFolder/switch-room/src/services/ServerHttpService.ts" beforeDir="false" afterPath="$PROJECT_DIR$/FrontendFolder/switch-room/src/services/ServerHttpService.ts" afterDir="false" />
<change beforePath="$PROJECT_DIR$/FrontendFolder/switch-room/src/main.ts" beforeDir="false" afterPath="$PROJECT_DIR$/FrontendFolder/switch-room/src/main.ts" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
<option name="LAST_RESOLUTION" value="IGNORE" />
</component>
<component name="ExternalProjectsData">
<projectState path="$PROJECT_DIR$/BackendFolder/SwitchRoom">
<ProjectState />
</projectState>
</component>
<component name="FileTemplateManagerImpl">
<option name="RECENT_TEMPLATES">
<list>
<option value="Vue Single File Component" />
</list>
</option>
</component>
<component name="Git.Settings">
<option name="RECENT_BRANCH_BY_REPOSITORY">
<map>
......@@ -36,75 +48,58 @@
</map>
</option>
</component>
<component name="RunManager" selected="Application.SwitchRoomApplication">
<configuration name="SwitchRoomApplication" type="Application" factoryName="Application" temporary="true" nameIsGenerated="true">
<option name="MAIN_CLASS_NAME" value="vt.CS5934.SwitchRoom.SwitchRoomApplication" />
<component name="MarkdownSettingsMigration">
<option name="stateVersion" value="1" />
</component>
<component name="ProjectId" id="2GJVwSZMPKX1yHQnDB4Be3ZYhAP" />
<component name="ProjectViewState">
<option name="hideEmptyMiddlePackages" value="true" />
<option name="showLibraryContents" value="true" />
</component>
<component name="PropertiesComponent">{
&quot;keyToString&quot;: {
&quot;RunOnceActivity.OpenProjectViewOnStart&quot;: &quot;true&quot;,
&quot;RunOnceActivity.ShowReadmeOnStart&quot;: &quot;true&quot;,
&quot;WebServerToolWindowFactoryState&quot;: &quot;false&quot;,
&quot;last_opened_file_path&quot;: &quot;D:/Code/switchroom&quot;,
&quot;node.js.detected.package.eslint&quot;: &quot;true&quot;,
&quot;node.js.detected.package.tslint&quot;: &quot;true&quot;,
&quot;node.js.selected.package.eslint&quot;: &quot;(autodetect)&quot;,
&quot;node.js.selected.package.tslint&quot;: &quot;(autodetect)&quot;,
&quot;nodejs_package_manager_path&quot;: &quot;npm&quot;,
&quot;spring.configuration.checksum&quot;: &quot;99fec119d6b1e29fa348378304c6feac&quot;,
&quot;ts.external.directory.path&quot;: &quot;D:\\Code\\switchroom\\FrontendFolder\\switch-room\\node_modules\\typescript\\lib&quot;,
&quot;vue.rearranger.settings.migration&quot;: &quot;true&quot;
}
}</component>
<component name="RunManager">
<configuration name="SwitchRoomApplication" type="SpringBootApplicationConfigurationType" factoryName="Spring Boot">
<module name="SwitchRoom.main" />
<extension name="coverage">
<pattern>
<option name="PATTERN" value="vt.CS5934.SwitchRoom.*" />
<option name="ENABLED" value="true" />
</pattern>
</extension>
<method v="2">
<option name="Make" enabled="true" />
</method>
</configuration>
<configuration default="true" type="JetRunConfigurationType">
<module name="vt.CS5934.SwitchRoom" />
<option name="SPRING_BOOT_MAIN_CLASS" value="vt.CS5934.SwitchRoom.SwitchRoomApplication" />
<method v="2">
<option name="Make" enabled="true" />
</method>
</configuration>
<configuration default="true" type="KotlinStandaloneScriptRunConfigurationType">
<module name="vt.CS5934.SwitchRoom" />
<option name="filePath" />
<method v="2">
<option name="Make" enabled="true" />
</method>
</configuration>
<configuration name="MySQL: Compose Deployment" type="docker-deploy" factoryName="docker-compose.yml" temporary="true" server-name="Docker">
<deployment type="docker-compose.yml">
<settings>
<option name="sourceFilePath" value="DataBaseFolder/MySQL/docker-compose.yml" />
</settings>
</deployment>
<method v="2" />
</configuration>
<configuration name="MySQL.db: Compose Deployment" type="docker-deploy" factoryName="docker-compose.yml" temporary="true" server-name="Docker">
<deployment type="docker-compose.yml">
<settings>
<option name="services">
<list>
<option value="db" />
</list>
</option>
<option name="sourceFilePath" value="DataBaseFolder/MySQL/docker-compose.yml" />
</settings>
</deployment>
<method v="2" />
</configuration>
<recent_temporary>
<list>
<item itemvalue="Docker.MySQL: Compose Deployment" />
<item itemvalue="Docker.MySQL.db: Compose Deployment" />
<item itemvalue="Application.SwitchRoomApplication" />
<item itemvalue="Docker.MySQL: Compose Deployment" />
<item itemvalue="Docker.MySQL.db: Compose Deployment" />
</list>
</recent_temporary>
</component>
<component name="SpellCheckerSettings" RuntimeDictionaries="0" Folders="0" CustomDictionaries="0" DefaultDictionary="application-level" UseSingleDictionary="true" transferred="true" />
<component name="TaskManager">
<task id="LOCAL-00001" summary="Change service to ts">
<created>1666059562092</created>
<option name="number" value="00001" />
<option name="presentableId" value="LOCAL-00001" />
<option name="project" value="LOCAL" />
<updated>1666059562092</updated>
<task active="true" id="Default" summary="Default task">
<changelist id="b729e076-3c33-49b4-9d1d-ab622bea054d" name="Changes" comment="" />
<created>1666106914172</created>
<option name="number" value="Default" />
<option name="presentableId" value="Default" />
<updated>1666106914172</updated>
<workItem from="1666119986712" duration="11363000" />
</task>
<option name="localTasksCounter" value="2" />
<servers />
</component>
<component name="TypeScriptGeneratedFilesManager">
<option name="version" value="3" />
</component>
<component name="UnknownFeatures">
<option featureType="dependencySupport" implementationName="java:jakarta.persistence:jakarta.persistence-api" />
<option featureType="dependencySupport" implementationName="java:org.hibernate:hibernate-core" />
</component>
<component name="Vcs.Log.Tabs.Properties">
<option name="TAB_STATES">
<map>
......@@ -116,8 +111,4 @@
</map>
</option>
</component>
<component name="VcsManagerConfiguration">
<MESSAGE value="Change service to ts" />
<option name="LAST_COMMIT_MESSAGE" value="Change service to ts" />
</component>
</project>
\ No newline at end of file
This diff is collapsed.
......@@ -13,6 +13,7 @@
"@fortawesome/free-regular-svg-icons": "^6.2.0",
"@fortawesome/free-solid-svg-icons": "^6.2.0",
"@fortawesome/vue-fontawesome": "^3.0.1",
"element-plus": "^2.2.18",
"vue": "^3.2.13",
"vue-router": "^4.0.3"
},
......@@ -26,7 +27,7 @@
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-vue": "^8.0.3",
"eslint-plugin-vue": "^8.7.1",
"prettier": "^2.4.1",
"typescript": "~4.5.5"
}
......
......@@ -103,6 +103,15 @@
</button>
<br />
<input v-model="exampleInputs" />
<br/>
<el-row class="mb-4">
<el-button>Default</el-button>
<el-button type="primary">Primary</el-button>
<el-button type="success">Success</el-button>
<el-button type="info">Info</el-button>
<el-button type="warning">Warning</el-button>
<el-button type="danger">Danger</el-button>
</el-row>
<p>{{ fullJsonData }}</p>
</div>
</div>
......
import { createApp } from "vue";
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import App from "./App.vue";
import router from "./router";
/* import the fontawesome core */
......@@ -31,4 +33,5 @@ library.add(faGithub);
createApp(App)
.component("font-awesome-icon", FontAwesomeIcon)
.use(router)
.use(ElementPlus)
.mount("#app");
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment