Coder Social home page Coder Social logo

Comments (12)

colinin avatar colinin commented on June 8, 2024

Please read the README document carefully

Front-end project description:vue-typescript-admin-template

from abp-next-admin.

NiceLisan avatar NiceLisan commented on June 8, 2024

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.

NiceLisan avatar NiceLisan commented on June 8, 2024

sorry , i've read the doc so many times but still run failed;
i suppose you 'd better write with more detail in readme document

Please 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.

colinin avatar colinin commented on June 8, 2024

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.

NiceLisan avatar NiceLisan commented on June 8, 2024

@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.

colinin avatar colinin commented on June 8, 2024

step1、cd vueJs

step2、npm install

step3、start-vue-admin.bat or npm run serve-nomock

from abp-next-admin.

NiceLisan avatar NiceLisan commented on June 8, 2024

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.

NiceLisan avatar NiceLisan commented on June 8, 2024

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.

colinin avatar colinin commented on June 8, 2024

Ok, I'll get rid of this useless view the next time I merge

from abp-next-admin.

NiceLisan avatar NiceLisan commented on June 8, 2024

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.

colinin avatar colinin commented on June 8, 2024

my colleagues and I cloned it several times. Build: Prod is ok, maybe it's your local environment problem

from abp-next-admin.

colinin avatar colinin commented on June 8, 2024

The Task view has been removed

from abp-next-admin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.