8000 laravel_template_with_vue/front.md at master · devil-l/laravel_template_with_vue · GitHub
[go: up one dir, main page]

Skip to content
{"payload":{"allShortcutsEnabled":false,"fileTree":{"":{"items":[{"name":"Screenshots","path":"Screenshots","contentType":"directory"},{"name":"backend","path":"backend","contentType":"directory"},{"name":"frontend","path":"frontend","contentType":"directory"},{"name":".gitignore","path":".gitignore","contentType":"file"},{"name":"LICENSE","path":"LICENSE","contentType":"file"},{"name":"README.md","path":"README.md","contentType":"file"},{"name":"back.md","path":"back.md","contentType":"file"},{"name":"developer.md","path":"developer.md","contentType":"file"},{"name":"front.md","path":"front.md","contentType":"file"},{"name":"knowledge.md","path":"knowledge.md","contentType":"file"},{"name":"vedio.md","path":"vedio.md","contentType":"file"}],"totalCount":11}},"fileTreeProcessingTime":3.259268,"foldersToFetch":[],"incompleteFileTree":false,"repo":{"id":231283664,"defaultBranch":"master","name":"laravel_template_with_vue","ownerLogin":"devil-l","currentUserCanPush":false,"isFork":true,"isEmpty":false,"createdAt":"2020-01-02T01:06:59.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/24471695?v=4","public":true,"private":false,"isOrgOwned":false},"codeLineWrapEnabled":false,"symbolsExpanded":false,"treeExpanded":true,"refInfo":{"name":"master","listCacheKey":"v0:1615636203.7529259","canEdit":false,"refType":"branch","currentOid":"2abc425250565441dd9eeb0e9672e6641769baf6"},"path":"front.md","currentUser":null,"blob":{"rawLines":null,"stylingDirectives":null,"colorizedLines":null,"csv":null,"csvError":null,"dependabotInfo":{"showConfigurationBanner":false,"configFilePath":null,"networkDependabotPath":"/devil-l/laravel_template_with_vue/network/updates","dismissConfigurationNoticePath":"/settings/dismiss-notice/dependabot_configuration_notice","configurationNoticeDismissed":null},"displayName":"front.md","displayUrl":"https://github.com/devil-l/laravel_template_with_vue/blob/master/front.md?raw=true","headerInfo":{"blobSize":"836 Bytes","deleteTooltip":"You must be signed in to make or propose changes","editTooltip":"You must be signed in to make or propose changes","ghDesktopPath":"https://desktop.github.com","isGitLfs":false,"onBranch":true,"shortPath":"de1b712","siteNavLoginPath":"/login?return_to=https%3A%2F%2Fgithub.com%2Fdevil-l%2Flaravel_template_with_vue%2Fblob%2Fmaster%2Ffront.md","isCSV":false,"isRichtext":true,"toc":[{"level":2,"text":"1、安装依赖","anchor":"1安装依赖","htmlText":"1、安装依赖"},{"level":2,"text":"2、配置后端服务器","anchor":"2配置后端服务器","htmlText":"2、配置后端服务器"},{"level":2,"text":"3、配置上传文件的服务器地址","anchor":"3配置上传文件的服务器地址","htmlText":"3、配置上传文件的服务器地址"},{"level":2,"text":"4、本地开发","anchor":"4本地开发","htmlText":"4、本地开发"},{"level":2,"text":"5、编译打包","anchor":"5编译打包","htmlText":"5、编译打包"}],"lineInfo":{"truncatedLoc":"23","truncatedSloc":"14"},"mode":"file"},"image":false,"isCodeownersFile":null,"isPlain":false,"isValidLegacyIssueTemplate":false,"issueTemplate":null,"discussionTemplate":null,"language":"Markdown","languageID":222,"large":false,"planSupportInfo":{"repoIsFork":null,"repoOwnedByCurrentUser":null,"requestFullPath":"/devil-l/laravel_template_with_vue/blob/master/front.md","showFreeOrgGatedFeatureMessage":null,"showPlanSupportBanner":null,"upgradeDataAttributes":null,"upgradePath":null},"publishBannersInfo":{"dismissActionNoticePath":"/settings/dismiss-notice/publish_action_from_dockerfile","releasePath":"/devil-l/laravel_template_with_vue/releases/new?marketplace=true","showPublishActionBanner":false},"rawBlobUrl":"https://github.com/devil-l/laravel_template_with_vue/raw/refs/heads/master/front.md","renderImageOrRaw":false,"richText":"\u003carticle class=\"markdown-body entry-content container-lg\" itemprop=\"text\"\u003e\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch2 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003e1、安装依赖\u003c/h2\u003e\u003ca id=\"user-content-1安装依赖\" class=\"anchor\" aria-label=\"Permalink: 1、安装依赖\" href=\"#1安装依赖\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003e\u003ccode\u003enpm install\u003c/code\u003e\u003c/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch2 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003e2、配置后端服务器\u003c/h2\u003e\u003ca id=\"user-content-2配置后端服务器\" class=\"anchor\" aria-label=\"Permalink: 2、配置后端服务器\" href=\"#2配置后端服务器\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003e文件位于frontend目录下,.env.development保存开发时的环境,.env.development保存发布后的环境\u003c/p\u003e\n\u003cp dir=\"auto\"\u003e配置其中的VUE_APP_BASE_API地址,分别指向开发时的本地后端服务器和发布后线上后端服务器。\u003c/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch2 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003e3、配置上传文件的服务器地址\u003c/h2\u003e\u003ca id=\"user-content-3配置上传文件的服务器地址\" class=\"anchor\" aria-label=\"Permalink: 3、配置上传文件的服务器地址\" href=\"#3配置上传文件的服务器地址\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003e文件位于frontend\\src\\config目录下,_import_development.js保存开发时使用的各种配置,_import_production.js保存发布时使用的各种配置\u003c/p\u003e\n\u003cp dir=\"auto\"\u003e配置其中的site地址,分别指向开发时的上传文件服务器地址和发布后的上传文件服务器地址(只需要网址)。\u003c/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch2 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003e4、本地开发\u003c/h2\u003e\u003ca id=\"user-content-4本地开发\" class=\"anchor\" aria-label=\"Permalink: 4、本地开发\" href=\"#4本地开发\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003e\u003ccode\u003enpm run dev\u003c/code\u003e\u003c/p\u003e\n\u003cp dir=\"auto\"\u003e登录用户名和密码使用后端的用户名和密码\u003c/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch2 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003e5、编译打包\u003c/h2\u003e\u003ca id=\"user-content-5编译打包\" class=\"anchor\" aria-label=\"Permalink: 5、编译打包\" href=\"#5编译打包\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003e\u003ccode\u003enpm run build\u003c/code\u003e\u003c/p\u003e\n\u003cp dir=\"auto\"\u003e程序打包到了frontend\\dist目录\u003c/p\u003e\n\u003c/article\u003e","renderedFileInfo":null,"shortPath":null,"symbolsEnabled":true,"tabSize":8,"topBannersInfo":{"overridingGlobalFundingFile":false,"globalPreferredFundingPath":null,"showInvalidCitationWarning":false,"citationHelpUrl":"https://docs.github.com/github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github/about-citation-files","actionsOnboardingTip":null},"truncated":false,"viewable":true,"workflowRedirectUrl":null,"symbols":{"timed_out":false,"not_analyzed":false,"symbols":[{"name":"1、安装依赖","kind":"section_2","ident_start":3,"ident_end":19,"extent_start":0,"extent_end":40,"fully_qualified_name":"1、安装依赖","ident_utf16":{"start":{"line_number":0,"utf16_col":3},"end":{"line_number":0,"utf16_col":9}},"extent_utf16":{"start":{"line_number":0,"utf16_col":0},"end":{"line_number":3,"utf16_col":0}}},{"name":"2、配置后端服务器","kind":"section_2","ident_start":43,"ident_end":68,"extent_start":40,"extent_end":314,"fully_qualified_name":"2、配置后端服务器","ident_utf16":{"start":{"line_number":3,"utf16_col":3},"end":{"line_number":3,"utf16_col":12}},"extent_utf16":{"start":{"line_number":3,"utf16_col":0},"end":{"line_number":9,"utf16_col":0}}},{"name":"3、配置上传文件的服务器地址","kind":"section_2","ident_start":317,"ident_end":357,"extent_start":314,"extent_end":668,"fully_qualified_name":"3、配置上传文件的服务器地址","ident_utf16":{"start":{"line_number":9,"utf16_col":3},"end":{"line_number":9,"utf16_col":17}},"extent_utf16":{"start":{"line_number":9,"utf16_col":0},"end":{"line_number":14,"utf16_col":0}}},{"name":"4、本地开发","kind":"section_2","ident_start":671,"ident_end":687,"extent_start":668,"extent_end":762,"fully_qualified_name":"4、本地开发","ident_utf16":{"start":{"line_number":14,"utf16_col":3},"end":{"line_number":14,"utf16_col":9}},"extent_utf16":{"start":{"line_number":14,"utf16_col":0},"end":{"line_number":19,"utf16_col":0}}},{"name":"5、编译打包","kind":"section_2","ident_start":765,"ident_end":781,"extent_start":762,"extent_end":836,"fully_qualified_name":"5、编译打包","ident_utf16":{"start":{"line_number":19,"utf16_col":3},"end":{"line_number":19,"utf16_col":9}},"extent_utf16":{"start":{"line_number":19,"utf16_col":0},"end":{"line_number":23,"utf16_col":0}}}]}},"copilotInfo":null,"copilotAccessAllowed":false,"modelsAccessAllowed":false,"modelsRepoIntegrationEnabled":false,"csrf_tokens":{"/devil-l/laravel_template_with_vue/branches":{"post":"3natKfdnOO6RWHX7Utjn2DwxDyCLpDo_nRmC5ukbaOYpgazLybUQFTB6uUsi8gJbK-GYwBVEcYFoM6QRHl4YqQ"},"/repos/preferences":{"post":"Cz8sHOTIt4ZqdGb6cocJWiRODLRrxC6Ko3kX82kQdGUm_jFT51YjBm36H5phTimqF0f5KgNQ3n9z1A0zpRbW0Q"}}},"title":"laravel_template_with_vue/front.md at master · devil-l/laravel_template_with_vue","appPayload":{"helpUrl":"https://docs.github.com","findFileWorkerPath":"/assets-cdn/worker/find-file-worker-263cab1760dd.js","findInFileWorkerPath":"/assets-cdn/worker/find-in-file-worker-1b17b3e7786a.js","githubDevUrl":null,"enabled_features":{"code_nav_ui_events":false,"react_blob_overlay":false,"accessible_code_button":true}}}
0