duoduodady

Results 2 comments of duoduodady

看了前面的一堆帖子,实际操作了一下,最后顺利的部署到子目录下了,详细记录一下过程。 1、修改根目录下的main.js文件 ![image](https://user-images.githubusercontent.com/13536089/64470146-e0d35780-d170-11e9-92da-799a8d463664.png) 把原来的history模式改成了hash了,同时增加了一个base父目录配置。我要把编译后的结果,拷贝到IView3目录下面去,访问的时候,也是通过http://localhost:103/IView3/index.html 来访问,所以这里把base配置为"/IView3/" 2、修改根目录下的webpack.prod.config.js 文件 ![image](https://user-images.githubusercontent.com/13536089/64470229-673c6900-d172-11e9-8478-f3879594837f.png) 把publicPath修改一下,修改为'/IView3/dist/' 最下面还有一个HtmlWebpackPlugin的配置也要修改一下: ![image](https://user-images.githubusercontent.com/13536089/64470235-8fc46300-d172-11e9-9f16-ea4643e857ea.png) 直接把原来的index_prod.html修改为index.html。 3、然后就编译发布吧。 npm run build 4、把生成的dist目录还有index.html拷贝到我的IView3目录下面去。 现在通过浏览器访问吧。 http://localhost:103/IView3/index.html

windows 10 neo4j-community-5.10.0-windows start command:neo4j console Starting Neo4j. Error occurred during initialization of VM Too small maximum heap Neo4j web server failed to start. See log for more info. Run...