# 使用View\.js的注意事项

## 命名冲突

使用时，View\.js 将在 `window` 上附加名为：`View` 的对象，如果工程中有其他插件使用了相同名称，则会引起插件冲突。

## 浏览器兼容性

View\.js 的设计初衷，是为了满足H5的移动端功能开发需要，所以开发者不需要担心移动端的兼容性。

对于 PC 浏览器，View\.js 可以在现代化的主流浏览器，如：firefox, chrome, safari, edge 上运行良好。View\.js 同样支持 IE9，但视图的直接访问特性将会受到影响：配置为不能直接访问的视图也将能够直接访问。

View\.js 不支持 IE8-。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.view-js.com/main.-shi-yong-viewjs-de-zhu-yi-shi-xiang.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
