Comments (12)
Please read the README document carefully
Front-end project description:vue-typescript-admin-template
from abp-next-admin.
sorry , i've read the doc so many times but still run failed;
i suppose you 'd better write more detail in readme document
Please read the README document carefully
Front-end project description:vue-typescript-admin-template
from abp-next-admin.
sorry , i've read the doc so many times but still run failed;
i suppose you 'd better write with more detail in readme documentPlease read the README document carefully
Front-end project description:vue-typescript-admin-template
i can easily run the Armour's vue template project ; but can't run the abp-vue frontend projects.
this is my problem.
from abp-next-admin.
Did you follow this procedure?
Project setup
With yarn or npm
Install dependencies
yarn install
Custom vue project config
Modify the server address that the development environment will use for the proxy. Provide the following three addresses: IdentityService, IdentityServer, and ApiService
proxy: {
// change xxx-api/login => /mock-api/v1/login
// detail: https://cli.vuejs.org/config/#devserver-proxy
[process.env.VUE_APP_BASE_IDENTITY_SERVER]: {
// IdentityServer4 Server address, used for authentication
target: 'http://localhost:44385',
changeOrigin: true,
pathRewrite: {
['^' + process.env.VUE_APP_BASE_IDENTITY_SERVER]: ''
}
},
[process.env.VUE_APP_SIGNALR_SERVER]: {
// SignalR address for the messaging service, SignalR USES WebSocket communication, so a separate proxy address is required
target: 'ws://localhost:30000',
changeOrigin: true,
pathRewrite: {
['^' + process.env.VUE_APP_SIGNALR_SERVER]: ''
},
logLevel: 'debug'
},
[process.env.VUE_APP_BASE_API]: {
// All other business is through the gateway proxy, directly fill in the gateway address
target: 'http://localhost:30000',
changeOrigin: true,
pathRewrite: {
['^' + process.env.VUE_APP_BASE_API]: ''
},
logLevel: 'debug'
}
}
Modify the actual address of the production environment, as above
# Base api
# Remeber to change this to your production server address
# Here I used my mock server for this project
# VUE_APP_BASE_API = 'https://vue-typescript-admin-mock-server.armour.now.sh/mock-api/v1/'
# Business services
VUE_APP_BASE_API = '/api'
# SignalR
VUE_APP_SIGNALR_SERVER = '/signalr-hubs'
# IdentityServer4
VUE_APP_BASE_IDENTITY_SERVER = '/connect'
# default tenant name
VUE_APP_TENANT_NAME = ''
# client id
VUE_APP_CLIENT_ID = 'vue-admin-element'
# client secret
VUE_APP_CLIENT_SECRET = '1q2w3e*'
Compiles and hot-reloads for development
cd vueJs
start-vue-admin.bat
from abp-next-admin.
@GitXieJun
Now, i've managed to run all the backend services success, Can you help me how to start the front-end project, sincere thanks~
from abp-next-admin.
step1、cd vueJs
step2、npm install
step3、start-vue-admin.bat or npm run serve-nomock
from abp-next-admin.
step1、cd vueJs
step2、npm install
step3、start-vue-admin.bat or npm run serve-nomock
ofcourse, i've tried to follow the instruction many times but got the failed result.
#53 #53
maybe there are some missing codes and files in the source codes you have uploaded ?
it's funny that many people reported the failed issue of front-end codes .
sincerely hope that you can clone the source code in the github by yourselves to see if you can reprouduce the same issues.
many thanks.
from abp-next-admin.
finally , i found you have missed to upload the below folder and related files:
views/task/index.vue
Failed to compile.
./src/router/modules/task.ts
Module not found: Error: Can't resolve '@/views/task/index.vue' in 'E:\abp-vue-admin-element-typescript\vueJs\src\router\modules'
from abp-next-admin.
Ok, I'll get rid of this useless view the next time I merge
from abp-next-admin.
Ok, I'll get rid of this useless view the next time I merge
it's ok, so it's appreciated that you close this issue the next time you merge and push the source code.
thanks.
from abp-next-admin.
my colleagues and I cloned it several times. Build: Prod is ok, maybe it's your local environment problem
from abp-next-admin.
The Task view has been removed
from abp-next-admin.
Related Issues (20)
- [Bug] 不能根据传递条件来过滤空文化
- 内部网关启动错误 HOT 1
- ElasticSearch Could not authenticate with the specified node HOT 1
- 系统运行后,初始化数据有两个admin用户和两个admin角色 HOT 1
- 通过dotnet build编译报错,使用vs生成正常 HOT 1
- 【Table】Destroying the TableAlert component causes an event exception in the a-alert component
- openiddict linkuser验证有问题 HOT 1
- 项目在linux下远程编译相关问题 HOT 1
- LINGYUN.Abp.IdGenerator模块SnowflakeIdGenerator参数验证逻辑有问题
- wechat configuration HOT 1
- Upgrade abp framework 7.0 HOT 2
- 端口问题 HOT 6
- 语言新增、修改有点问题 HOT 1
- ClientId 问题 HOT 1
- 微服务权限问题 HOT 1
- 数据库还原不了,能否给个项目说明
- 项目里面配置数据库连接字符串,数据库名有的带后缀-v70,有的不带,是有特殊用意吗 HOT 2
- 文件上传时,路径只能有一级,多级的文件可以上传成功,但是无法下载成功 HOT 1
- 找不到 LINGYUN.Abp.* Nuget 包 HOT 2
- OrganizationUnitAppService中,列表查询时,Filter条件,没有使用 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from abp-next-admin.