Answer the question
In order to leave comments, you need to log in
How to add a web project to VS?
I have a self-written system project in PHP, it uses TypeScript and Less, they need to be compiled
For Less, I installed Web Compiler
I create a new TypeScript project, but I canβt add the entire PHP project there, only the root directory files are added, what should I do?
And if there are other solutions to the problem, then I will be glad to listen (except for changing the IDE)
Answer the question
In order to leave comments, you need to log in
only root directory files are added
/Π Π΅ΡΠ΅Π½ΠΈΠ΅
-- FrontEndScripts - ΠΏΡΠΎΠ΅ΠΊΡ TypeScript
-- SmallServerAdmin - ΠΏΡΠΎΠ΅ΠΊΡ PHP, Π² ΠΊΠΎΡΠΎΡΡΠΉ, ΠΏΠΎΠΌΠΈΠΌΠΎ ΠΏΡΠΎΡΠ΅Π³ΠΎ, ΡΠΎΠ±ΠΈΡΠ°ΡΡΡΡ ΠΊΠ»ΠΈΠ΅Π½ΡΡΠΊΠΈΠΉ ΠΊΠΎΠ΄
[
{
"includeInProject": false,
// Π²ΡΠ²ΠΎΠ΄ js Π΄Π΅Π»Π°Π΅ΠΌ Π² ΠΏΡΠΎΠ΅ΠΊΡ SmallServerAdmin
"outputFileName": "../SmallServerAdmin/Content/compiled.js",
"inputFiles": [
// ΡΠ°ΠΉΠ»Ρ, ΠΊΠΎΡΠΎΡΡΠ΅ Π΄ΠΎΠ»ΠΆΠ½Ρ Π²Ρ
ΠΎΠ΄ΠΈΡΡ ΠΈΡΠΎΠ³ΠΎΠ²ΡΡ Π² ΡΠ±ΠΎΡΠΊΡ
"libs/jquery-1.11.2.js",
"libs/jquery-ui.min.js",
"libs/jquery.json.min.js",
"libs/jquery.caret.min.js"
// ...
]
}
]
{
"compilerOptions": {
"outDir": "./ΠΊΡΠ΄Π° Π΄Π΅Π»Π°ΡΡ Π²ΡΠ²ΠΎΠ΄ ΠΊΠΎΠΌΠΏΠΈΠ»ΠΈΡΠΎΠ²Π°Π½Π½ΡΡ
ΡΠ°ΠΉΠ»ΠΎΠ²",
"sourceMap": false,
"noImplicitAny": true,
"module": "CommonJS",
"target": "es5"
},
"files": [
// ΡΠ°ΠΉΠ»Ρ ΠΏΡΠΎΠ΅ΠΊΡΠ°
"./init.ts"
]
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question