Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
xqz
/
dianDemo
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
5153d5de
authored
2020-04-21 12:06:10 +0800
by
sunnie
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
readme
1 parent
aa0bce60
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
README.md
README.md
View file @
5153d5d
...
...
@@ -70,7 +70,7 @@ npm run serve
  
以
`VUE_APP_`
开头的变量,在代码中可以通过
`process.env.VUE_APP_`
访问。
  
比如,
`VUE_APP_ENV = 'development'`
通过
`process.env.VUE_APP_ENV`
访问。
  
除了
`VUE_APP_*`
变量之外,在你的应用代码中始终可用的还有两个特殊的变量
`NODE_ENV`
和
`BASE_URL`
  
除了
`VUE_APP_*`
变量之外,在你的应用代码中始终可用的还有两个特殊的变量
`NODE_ENV`
和
`BASE_URL`
在项目根目录中新建
`.env.*`
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment