chore: put warning in dev block
This commit is contained in:
parent
32713f8fce
commit
67fd5b6091
@ -98,9 +98,11 @@ export function createAppAPI(render: RootRenderFunction): () => App {
|
||||
},
|
||||
|
||||
set config(v) {
|
||||
warn(
|
||||
`app.config cannot be replaced. Modify individual options instead.`
|
||||
)
|
||||
if (__DEV__) {
|
||||
warn(
|
||||
`app.config cannot be replaced. Modify individual options instead.`
|
||||
)
|
||||
}
|
||||
},
|
||||
|
||||
use(plugin: Plugin) {
|
||||
|
Loading…
Reference in New Issue
Block a user